remove standalone config
All checks were successful
Main / build-and-push-docker-image (20.x) (push) Successful in 5m19s
All checks were successful
Main / build-and-push-docker-image (20.x) (push) Successful in 5m19s
This commit is contained in:
@@ -37,4 +37,4 @@ COPY . ./
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["node", ".next/standalone/server.js"]
|
||||
CMD ["yarn", "start"]
|
||||
|
||||
@@ -3,8 +3,7 @@ import type { NextConfig } from "next";
|
||||
const nextConfig: NextConfig = {
|
||||
experimental: {
|
||||
optimizePackageImports: ["@chakra-ui/react"]
|
||||
},
|
||||
output: "standalone"
|
||||
}
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
@@ -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]);
|
||||
|
||||
@@ -47,7 +47,7 @@ const config: runtime.GetPrismaClientConfig = {
|
||||
"db"
|
||||
],
|
||||
"activeProvider": "mongodb",
|
||||
"postinstall": true,
|
||||
"postinstall": false,
|
||||
"inlineDatasources": {
|
||||
"db": {
|
||||
"url": {
|
||||
|
||||
Reference in New Issue
Block a user