X commited on
Update Dockerfile
Browse files- Dockerfile +1 -15
Dockerfile
CHANGED
|
@@ -1,19 +1,5 @@
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
RUN apt install git -y
|
| 6 |
-
|
| 7 |
-
RUN git clone https://huggingface.co/spaces/root39058/HFMessage
|
| 8 |
-
|
| 9 |
-
WORKDIR /HFMessage
|
| 10 |
-
|
| 11 |
-
RUN ls -la
|
| 12 |
-
|
| 13 |
-
RUN cp reqiurements.txt requirements.txt
|
| 14 |
-
|
| 15 |
-
RUN pip install -r requirements.txt
|
| 16 |
-
|
| 17 |
-
COPY app.py .
|
| 18 |
|
| 19 |
CMD ["python", "app.py"]
|
|
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
+
WORKDIR /app
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
CMD ["python", "app.py"]
|