Kaveh commited on
Commit
1811048
·
unverified ·
2 Parent(s): d68693aa742f98

Merge pull request #4 from MyNameisKaveh/feat/sudoku-web-app-farsi

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -26,4 +26,5 @@ ENV FLASK_SECRET_KEY="a_very_secure_default_secret_key_that_you_SHOULD_override"
26
 
27
  # 8. Run Gunicorn to serve the Flask app
28
  # The module is web_app.app and the Flask instance is named 'app'
29
- CMD ["gunicorn", "--workers", "2", "--bind", "0.0.0.0:$PORT", "web_app.app:app"]
 
 
26
 
27
  # 8. Run Gunicorn to serve the Flask app
28
  # The module is web_app.app and the Flask instance is named 'app'
29
+ # Use sh -c to ensure $PORT is expanded by the shell
30
+ CMD sh -c 'gunicorn --workers 2 --bind 0.0.0.0:$PORT web_app.app:app'