alexcdev1 5 bulan lalu
induk
melakukan
56b7ad05b0
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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"]