Baskar2005 commited on
Commit
62457c3
·
verified ·
1 Parent(s): 2c8f9c0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -20,4 +20,5 @@ RUN playwright install --with-deps chromium
20
  COPY . .
21
 
22
  # Start Server (Render uses PORT env var)
23
- CMD gunicorn app:app --bind 0.0.0.0:$PORT --timeout 120
 
 
20
  COPY . .
21
 
22
  # Start Server (Render uses PORT env var)
23
+ # Use ${PORT:-10000} to set a default if the variable is missing
24
+ CMD gunicorn app:app --bind 0.0.0.0:${PORT:-10000} --timeout 120