Spaces:
Sleeping
Sleeping
Done
Browse files- Dockerfile +1 -1
- requirements.txt +1 -1
Dockerfile
CHANGED
@@ -10,4 +10,4 @@ COPY --chown=user ./requirements.txt requirements.txt
|
|
10 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
11 |
|
12 |
COPY --chown=user . /app
|
13 |
-
CMD ["
|
|
|
10 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
11 |
|
12 |
COPY --chown=user . /app
|
13 |
+
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]
|
requirements.txt
CHANGED
@@ -2,4 +2,4 @@ flask
|
|
2 |
python-multipart
|
3 |
flask_cors
|
4 |
pymongo
|
5 |
-
|
|
|
2 |
python-multipart
|
3 |
flask_cors
|
4 |
pymongo
|
5 |
+
gunicorn
|