Kashtan commited on
Commit
fc6d8ab
·
verified ·
1 Parent(s): bc9bb32

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -8,7 +8,8 @@ WORKDIR /app
8
  COPY requirements.txt .
9
 
10
  # Change permission
11
- RUN chmod -R 755 /cache/huggingface /cache/matplotlib
 
12
 
13
  # Set environment variables for Hugging Face and Matplotlib
14
  ENV TRANSFORMERS_CACHE=/cache/huggingface
 
8
  COPY requirements.txt .
9
 
10
  # Change permission
11
+ RUN mkdir -p /cache/huggingface /cache/matplotlib \
12
+ && chmod -R 777 /cache/huggingface /cache/matplotlib
13
 
14
  # Set environment variables for Hugging Face and Matplotlib
15
  ENV TRANSFORMERS_CACHE=/cache/huggingface