alexcdev1 il y a 9 mois
Parent
commit
56b7ad05b0
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      Dockerfile.prod

+ 2 - 1
Dockerfile.prod

@@ -114,4 +114,5 @@ ENV PORT 3000
 # Uncomment the following line in case you want to disable telemetry.
 # ENV NEXT_TELEMETRY_DISABLED 1
 
-CMD ["node", "node_modules/.bin/next", "start"]
+# CMD ["node", "node_modules/.bin/next", "start"]
+CMD ["/bin/bash", "-c", "node_modules/.bin/next start"]