Parcourir la source

🔧 chore(docker): simplify startup command

- remove unnecessary 'cd web' from startup command
- directly run pnpm run start from project root
yourname il y a 1 mois
Parent
commit
78585eccef
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -28,4 +28,4 @@ pnpm run build
 EXPOSE 8080
 
 # 启动命令
-CMD ["sh", "-c", "cd web && pnpm run start"]
+CMD ["sh", "-c", "pnpm run start"]