remove standalone config
All checks were successful
Main / build-and-push-docker-image (20.x) (push) Successful in 5m19s

This commit is contained in:
2025-12-06 17:07:54 -05:00
parent e59a2cc52e
commit 92675579b9
4 changed files with 4 additions and 9 deletions

View File

@@ -37,4 +37,4 @@ COPY . ./
EXPOSE 3000
CMD ["node", ".next/standalone/server.js"]
CMD ["yarn", "start"]

View File

@@ -3,8 +3,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = {
experimental: {
optimizePackageImports: ["@chakra-ui/react"]
},
output: "standalone"
}
};
export default nextConfig;

View File

@@ -85,11 +85,7 @@ export default function Home() {
);
useEffect(() => {
if (
!thirtyDayStatsFetching &&
thirtyDayStats.getStatsRange &&
!thirtyDayStatsError
) {
if (!thirtyDayStatsFetching && thirtyDayStats && !thirtyDayStatsError) {
setLineChartArrState(lineChartArr(thirtyDayStats.getStatsRange));
}
}, [thirtyDayStats, thirtyDayStatsError, thirtyDayStatsFetching]);

View File

@@ -47,7 +47,7 @@ const config: runtime.GetPrismaClientConfig = {
"db"
],
"activeProvider": "mongodb",
"postinstall": true,
"postinstall": false,
"inlineDatasources": {
"db": {
"url": {