mfoud444 commited on
Commit
b223789
·
verified ·
1 Parent(s): 53a1e42

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -21,8 +21,8 @@ RUN npx --yes pnpm install
21
  # Build the app
22
  RUN npx --yes pnpm build
23
 
24
- # Expose the port
25
  EXPOSE 7860
26
 
27
- # Start the app on 0.0.0.0:7860 (modify if your start script supports args)
28
- CMD ["npx", "--yes", "pnpm", "start", "--", "--host", "0.0.0.0", "--port", "7860"]
 
21
  # Build the app
22
  RUN npx --yes pnpm build
23
 
24
+ # Expose correct port
25
  EXPOSE 7860
26
 
27
+ # Run the app (now respects 0.0.0.0:7860)
28
+ CMD ["npx", "--yes", "pnpm", "start"]