futranbg commited on
Commit
40dc9ea
·
verified ·
1 Parent(s): 85d0956

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -7,6 +7,9 @@ WORKDIR /app
7
  # Set the cache directory for Hugging Face to a writable location
8
  ENV HF_HOME /app/.cache/huggingface
9
 
 
 
 
10
  # Copy the requirements file into the container
11
  COPY requirements.txt .
12
 
 
7
  # Set the cache directory for Hugging Face to a writable location
8
  ENV HF_HOME /app/.cache/huggingface
9
 
10
+ # Create the cache directory and set permissions
11
+ RUN mkdir -p /app/.cache && chmod 777 /app/.cache
12
+
13
  # Copy the requirements file into the container
14
  COPY requirements.txt .
15