X commited on
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -1,9 +1,11 @@
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
RUN pip install -r requirements.txt
|
| 6 |
|
|
|
|
|
|
|
| 7 |
COPY app.py .
|
| 8 |
|
| 9 |
CMD ["python", "app.py"]
|
|
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
+
RUN curl https://huggingface.co/spaces/root39058/HFMessage/resolve/main/reqiurements.txt --output requirements.txt
|
| 4 |
|
| 5 |
RUN pip install -r requirements.txt
|
| 6 |
|
| 7 |
+
WORKDIR /app
|
| 8 |
+
|
| 9 |
COPY app.py .
|
| 10 |
|
| 11 |
CMD ["python", "app.py"]
|