Spaces:
Paused
Paused
Commit
·
db97814
1
Parent(s):
64b6eba
test2
Browse files- Dockerfile +2 -1
- requirements.txt +1 -1
Dockerfile
CHANGED
@@ -11,4 +11,5 @@ 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"]
|
15 |
+
|
requirements.txt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
flask
|
2 |
-
|
3 |
huggingface_hub
|
|
|
1 |
flask
|
2 |
+
gunicorn
|
3 |
huggingface_hub
|