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 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 = { const nextConfig: NextConfig = {
experimental: { experimental: {
optimizePackageImports: ["@chakra-ui/react"] optimizePackageImports: ["@chakra-ui/react"]
}, }
output: "standalone"
}; };
export default nextConfig; export default nextConfig;

View File

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

View File

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