|
@@ -52,4 +52,4 @@ EXPOSE 3000
|
|
ENV PORT 3000
|
|
ENV PORT 3000
|
|
ENV NEXT_TELEMETRY_DISABLED 1
|
|
ENV NEXT_TELEMETRY_DISABLED 1
|
|
|
|
|
|
-CMD ["node", "server.js"]
|
|
|
|
|
|
+CMD ["sh", "-c", "if [ -d .next/standalone ]; then node .next/standalone/server.js; else node_modules/.bin/next start; fi"]
|