rastof9 commited on
Commit
6f2d058
·
verified ·
1 Parent(s): 76f9233

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -34,6 +34,6 @@ USER appuser
34
 
35
  # Expose the port
36
  EXPOSE 5000
37
- CMD ["gunicorn", "--config=./gunicorn.conf.py", "--workers=2", "app:create_app()"]
38
- # Run the application
39
- CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "4", "app:create_app()"]
 
34
 
35
  # Expose the port
36
  EXPOSE 5000
37
+
38
+ # Run the application using gunicorn with config file
39
+ CMD ["gunicorn", "--config=./gunicorn.conf.py", "--workers=2", "app:create_app()"]