Update Dockerfile
Browse files- 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 |
|