zyxciss commited on
Commit
5fa015f
·
verified ·
1 Parent(s): 332856d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -9,6 +9,9 @@ RUN apt-get update && apt-get install -y espeak-ng
9
  # Set Hugging Face cache directory to a writable location
10
  ENV HF_HOME="/app/.cache/huggingface"
11
 
 
 
 
12
  # Copy project files
13
  COPY . /app
14
 
 
9
  # Set Hugging Face cache directory to a writable location
10
  ENV HF_HOME="/app/.cache/huggingface"
11
 
12
+ # Ensure the cache directory exists and is writable
13
+ RUN mkdir -p $HF_HOME && chmod -R 777 $HF_HOME
14
+
15
  # Copy project files
16
  COPY . /app
17