alexcdev1 9 meses atrás
pai
commit
56b7ad05b0
1 arquivos alterados com 2 adições e 1 exclusões
  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"]