dominiquebuford commited on
Commit
567e3c6
·
1 Parent(s): 21499b9

try new command

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. app/app.py +1 -1
Dockerfile CHANGED
@@ -28,7 +28,7 @@ RUN pip install -r requirements.txt
28
 
29
 
30
  # Define the command to run your app using CMD which should be overridden when using the container with different commands
31
- CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:7860", "--workers", "3"]
32
 
33
 
34
 
 
28
 
29
 
30
  # Define the command to run your app using CMD which should be overridden when using the container with different commands
31
+ CMD ["gunicorn", "-b", "0.0.0.0:7860" ,"main:app"]
32
 
33
 
34
 
app/app.py CHANGED
@@ -74,5 +74,5 @@ def upload():
74
 
75
 
76
  if __name__=="__main__":
77
- app.run(debug = True)
78
 
 
74
 
75
 
76
  if __name__=="__main__":
77
+ app.run()
78