alexcdev1 5 months ago
parent
commit
3ffa46d310
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Dockerfile.prod

+ 2 - 2
Dockerfile.prod

@@ -59,5 +59,5 @@ EXPOSE 3000
 ENV PORT 3000
 ENV PORT 3000
 
 
 # 使用 bash 启动应用
 # 使用 bash 启动应用
-# CMD ["/bin/bash", "-c", "node_modules/.bin/next start"]
-CMD ["node", "node_modules/.bin/next", "start"]
+CMD ["/bin/bash", "-c", "node_modules/.bin/next start"]
+# CMD ["node", "node_modules/.bin/next", "start"]