mojad121 commited on
Commit
9d6250b
·
verified ·
1 Parent(s): e702a33

Update Dockerfile

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