Spaces:
Running
Running
PhilSad
commited on
Commit
·
40385e3
1
Parent(s):
a3c44d4
gunicorn
Browse files- Dockerfile +1 -1
- requirements.txt +1 -1
Dockerfile
CHANGED
@@ -11,4 +11,4 @@ COPY --chown=user ./requirements.txt requirements.txt
|
|
11 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
12 |
|
13 |
COPY --chown=user . /app
|
14 |
-
CMD ["
|
|
|
11 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
12 |
|
13 |
COPY --chown=user . /app
|
14 |
+
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
flask
|
2 |
flask-cors
|
3 |
-
|
4 |
httpx
|
|
|
1 |
flask
|
2 |
flask-cors
|
3 |
+
gunicorn
|
4 |
httpx
|