Kashtan commited on
Commit
1935f96
·
verified ·
1 Parent(s): 059717e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -7,6 +7,9 @@ WORKDIR /app
7
  # Copy the requirements file
8
  COPY requirements.txt .
9
 
 
 
 
10
  # Set environment variables for Hugging Face and Matplotlib
11
  ENV TRANSFORMERS_CACHE=/cache/huggingface
12
  ENV MPLCONFIGDIR=/cache/matplotlib
 
7
  # Copy the requirements file
8
  COPY requirements.txt .
9
 
10
+ # Change permission
11
+ chmod -R 755 ~/cache/huggingface ~/cache/matplotlib
12
+
13
  # Set environment variables for Hugging Face and Matplotlib
14
  ENV TRANSFORMERS_CACHE=/cache/huggingface
15
  ENV MPLCONFIGDIR=/cache/matplotlib