Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -11,6 +11,9 @@ RUN apt-get update && apt-get install -y \
|
|
| 11 |
COPY requirements.txt ./
|
| 12 |
COPY src/ ./src/
|
| 13 |
|
|
|
|
|
|
|
|
|
|
| 14 |
RUN pip3 install -r requirements.txt
|
| 15 |
|
| 16 |
EXPOSE 8501
|
|
|
|
| 11 |
COPY requirements.txt ./
|
| 12 |
COPY src/ ./src/
|
| 13 |
|
| 14 |
+
ENV TRANSFORMERS_CACHE=/data/cache
|
| 15 |
+
RUN rm -rf /root/.cache/huggingface
|
| 16 |
+
|
| 17 |
RUN pip3 install -r requirements.txt
|
| 18 |
|
| 19 |
EXPOSE 8501
|