dejanseo commited on
Commit
eb1b48e
·
verified ·
1 Parent(s): 3c92de2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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