dominiquebuford
commited on
Commit
·
21499b9
1
Parent(s):
213bddd
try new command
Browse files- Dockerfile +2 -1
- requirements.txt +1 -0
Dockerfile
CHANGED
|
@@ -28,6 +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 ["
|
|
|
|
| 32 |
|
| 33 |
|
|
|
|
| 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 |
|
requirements.txt
CHANGED
|
@@ -6,4 +6,5 @@ torchaudio
|
|
| 6 |
tensorflow
|
| 7 |
keras
|
| 8 |
pandas
|
|
|
|
| 9 |
Flask
|
|
|
|
| 6 |
tensorflow
|
| 7 |
keras
|
| 8 |
pandas
|
| 9 |
+
gunicorn
|
| 10 |
Flask
|