nroggendorff commited on
Commit
2279df1
1 Parent(s): 8307b51

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -2,14 +2,14 @@ FROM python:latest
2
 
3
  WORKDIR /app
4
 
5
- RUN mkdir /app/cache
6
-
7
  ENV TRANSFORMERS_CACHE /app/cache
8
 
9
  COPY requirements.txt .
10
 
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
 
 
13
  COPY app.py .
14
 
15
  CMD ["python", "app.py"]
 
2
 
3
  WORKDIR /app
4
 
 
 
5
  ENV TRANSFORMERS_CACHE /app/cache
6
 
7
  COPY requirements.txt .
8
 
9
  RUN pip install --no-cache-dir -r requirements.txt
10
 
11
+ RUN mkdir -p /app/cache && chmod 777 /app/cache
12
+
13
  COPY app.py .
14
 
15
  CMD ["python", "app.py"]