Browse Source

🔧 chore(docker): simplify startup command

- remove unnecessary 'cd web' from startup command
- directly run pnpm run start from project root
yourname 1 month ago
parent
commit
78585eccef
1 changed files with 1 additions and 1 deletions
  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"]