cooperchris17 commited on
Commit
ed00b42
·
verified ·
1 Parent(s): 444158e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 ["python", "ConstructionComplexityCalculator.py"]
 
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"]