Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -17,5 +17,5 @@ COPY . .
|
|
| 17 |
# Expose the port the app runs on
|
| 18 |
EXPOSE 5000
|
| 19 |
|
| 20 |
-
# Define the command to run the application
|
| 21 |
-
CMD ["
|
|
|
|
| 17 |
# Expose the port the app runs on
|
| 18 |
EXPOSE 5000
|
| 19 |
|
| 20 |
+
# Define the command to run the application using gunicorn
|
| 21 |
+
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:5000", "ConstructionComplexityCalculator:app"]
|