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 pip install --no-cache-dir -r requirements.txt
|
15 |
|
16 |
EXPOSE 8501
|
|
|
11 |
COPY requirements.txt ./
|
12 |
COPY src/ ./src/
|
13 |
|
14 |
+
RUN mkdir /app/cache && chmod 777 /app/cache
|
15 |
+
ENV TRANSFORMERS_CACHE=/app/cache
|
16 |
+
|
17 |
RUN pip install --no-cache-dir -r requirements.txt
|
18 |
|
19 |
EXPOSE 8501
|