Spaces:
Running
Running
manue
commited on
Commit
·
afa6bb7
1
Parent(s):
2b5b0f1
Update Dockerfile to use gunicorn for app execution
Browse files- Dockerfile +1 -3
- requirements.txt +0 -0
Dockerfile
CHANGED
@@ -1,11 +1,9 @@
|
|
1 |
FROM python:3.10-slim
|
2 |
|
3 |
-
RUN curl https://huggingface.co/MilaNLProc/feel-it-italian-sentiment/resolve/main/config.json
|
4 |
-
|
5 |
WORKDIR /app
|
6 |
|
7 |
COPY . /app
|
8 |
|
9 |
RUN pip install --no-cache-dir -r requirements.txt
|
10 |
|
11 |
-
CMD ["
|
|
|
1 |
FROM python:3.10-slim
|
2 |
|
|
|
|
|
3 |
WORKDIR /app
|
4 |
|
5 |
COPY . /app
|
6 |
|
7 |
RUN pip install --no-cache-dir -r requirements.txt
|
8 |
|
9 |
+
CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]
|
requirements.txt
CHANGED
Binary files a/requirements.txt and b/requirements.txt differ
|
|