Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -17,11 +17,11 @@ RUN apt-get update && apt-get install -y \
|
|
| 17 |
RUN git clone https://github.com/rupeshs/fastsdcpu.git .
|
| 18 |
|
| 19 |
# Create and set permissions for writable directories
|
| 20 |
-
RUN mkdir -p /.cache/huggingface
|
| 21 |
-
&& chmod -R 777 /.cache /app
|
| 22 |
|
| 23 |
-
# Set
|
| 24 |
-
ENV
|
| 25 |
|
| 26 |
# Upgrade pip and install dependencies
|
| 27 |
RUN pip install --upgrade pip
|
|
|
|
| 17 |
RUN git clone https://github.com/rupeshs/fastsdcpu.git .
|
| 18 |
|
| 19 |
# Create and set permissions for writable directories
|
| 20 |
+
RUN mkdir -p /.cache/huggingface /app/configs /app/results /app/.openvino_telemetry \
|
| 21 |
+
&& chmod -R 777 /.cache /app
|
| 22 |
|
| 23 |
+
# Set HF_HOME for Hugging Face cache (replacing TRANSFORMERS_CACHE)
|
| 24 |
+
ENV HF_HOME=/app/.cache/huggingface
|
| 25 |
|
| 26 |
# Upgrade pip and install dependencies
|
| 27 |
RUN pip install --upgrade pip
|