Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -12,6 +12,9 @@ RUN apt-get update && apt-get install -y \
|
|
12 |
COPY requirements.txt ./
|
13 |
COPY src/ ./src/
|
14 |
|
|
|
|
|
|
|
15 |
RUN pip3 install -r requirements.txt
|
16 |
|
17 |
EXPOSE 8501
|
|
|
12 |
COPY requirements.txt ./
|
13 |
COPY src/ ./src/
|
14 |
|
15 |
+
ENV TRANSFORMERS_CACHE=/app/cache/huggingface
|
16 |
+
RUN mkdir -p /app/cache/huggingface && chmod -R 777 /app/cache
|
17 |
+
|
18 |
RUN pip3 install -r requirements.txt
|
19 |
|
20 |
EXPOSE 8501
|