Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -34,6 +34,6 @@ USER appuser
|
|
| 34 |
|
| 35 |
# Expose the port
|
| 36 |
EXPOSE 5000
|
| 37 |
-
|
| 38 |
-
# Run the application
|
| 39 |
-
CMD ["gunicorn", "--
|
|
|
|
| 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()"]
|