Spaces:
Build error
Build error
add gunicorn
Browse files- Dockerfile +1 -1
- deploy/requirements.txt +2 -1
Dockerfile
CHANGED
|
@@ -8,4 +8,4 @@ COPY ./deploy /app
|
|
| 8 |
|
| 9 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 10 |
|
| 11 |
-
CMD ["
|
|
|
|
| 8 |
|
| 9 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 10 |
|
| 11 |
+
CMD ["gunicorn", "-b", "0.0.0.0:7860", "main:app.py"]
|
deploy/requirements.txt
CHANGED
|
@@ -4,4 +4,5 @@ Werkzeug==2.2.2
|
|
| 4 |
tensorflow==2.12.0
|
| 5 |
opencv-python==4.8.1.78
|
| 6 |
numpy==1.23.1
|
| 7 |
-
Pillow==9.3.0
|
|
|
|
|
|
| 4 |
tensorflow==2.12.0
|
| 5 |
opencv-python==4.8.1.78
|
| 6 |
numpy==1.23.1
|
| 7 |
+
Pillow==9.3.0
|
| 8 |
+
gunicorn
|