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
|
EXPOSE 3000
|
||||||
|
|
||||||
CMD ["node", ".next/standalone/server.js"]
|
CMD ["yarn", "start"]
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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]);
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ const config: runtime.GetPrismaClientConfig = {
|
|||||||
"db"
|
"db"
|
||||||
],
|
],
|
||||||
"activeProvider": "mongodb",
|
"activeProvider": "mongodb",
|
||||||
"postinstall": true,
|
"postinstall": false,
|
||||||
"inlineDatasources": {
|
"inlineDatasources": {
|
||||||
"db": {
|
"db": {
|
||||||
"url": {
|
"url": {
|
||||||
|
|||||||
Reference in New Issue
Block a user