Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -14,6 +14,10 @@ COPY src/ ./src/
|
|
| 14 |
|
| 15 |
RUN pip3 install -r requirements.txt
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
EXPOSE 8501
|
| 18 |
|
| 19 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
|
|
|
| 14 |
|
| 15 |
RUN pip3 install -r requirements.txt
|
| 16 |
|
| 17 |
+
ENV PYTHONUNBUFFERED=1 \
|
| 18 |
+
PORT=8000 \
|
| 19 |
+
HF_HOME=/home/user/huggingface
|
| 20 |
+
|
| 21 |
EXPOSE 8501
|
| 22 |
|
| 23 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|