dominiquebuford
commited on
Commit
·
567e3c6
1
Parent(s):
21499b9
try new command
Browse files- Dockerfile +1 -1
- 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", "
|
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(
|
78 |
|
|
|
74 |
|
75 |
|
76 |
if __name__=="__main__":
|
77 |
+
app.run()
|
78 |
|