Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -1,5 +1,8 @@
|
|
| 1 |
FROM python:3.9-slim
|
| 2 |
|
|
|
|
|
|
|
|
|
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
RUN apt-get update && apt-get install -y \
|
|
@@ -14,9 +17,6 @@ COPY src/ ./src/
|
|
| 14 |
|
| 15 |
RUN pip3 install -r requirements.txt
|
| 16 |
|
| 17 |
-
ENV PYTHONUNBUFFERED=1 \
|
| 18 |
-
HF_HOME=/home/user/huggingface
|
| 19 |
-
|
| 20 |
EXPOSE 8501
|
| 21 |
|
| 22 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
|
|
|
| 1 |
FROM python:3.9-slim
|
| 2 |
|
| 3 |
+
ENV PYTHONUNBUFFERED=1 \
|
| 4 |
+
HF_HOME=/home/user/huggingface
|
| 5 |
+
|
| 6 |
WORKDIR /app
|
| 7 |
|
| 8 |
RUN apt-get update && apt-get install -y \
|
|
|
|
| 17 |
|
| 18 |
RUN pip3 install -r requirements.txt
|
| 19 |
|
|
|
|
|
|
|
|
|
|
| 20 |
EXPOSE 8501
|
| 21 |
|
| 22 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|