Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -25,9 +25,9 @@ RUN python -m venv env
|
|
| 25 |
ENV HF_HOME=/app/.cache/huggingface \
|
| 26 |
OPENVINO_TELEMETRY_DIR=/app/telemetry
|
| 27 |
|
| 28 |
-
# Create cache, telemetry, and
|
| 29 |
-
RUN mkdir -p /app/.cache/huggingface /app/telemetry /app/configs && \
|
| 30 |
-
chmod -R 777 /app/.cache /app/telemetry /app/configs
|
| 31 |
|
| 32 |
# Activate virtual environment and install Python dependencies
|
| 33 |
RUN . env/bin/activate && pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 25 |
ENV HF_HOME=/app/.cache/huggingface \
|
| 26 |
OPENVINO_TELEMETRY_DIR=/app/telemetry
|
| 27 |
|
| 28 |
+
# Create cache, telemetry, configs, and results directories with write permissions
|
| 29 |
+
RUN mkdir -p /app/.cache/huggingface /app/telemetry /app/configs /app/results && \
|
| 30 |
+
chmod -R 777 /app/.cache /app/telemetry /app/configs /app/results
|
| 31 |
|
| 32 |
# Activate virtual environment and install Python dependencies
|
| 33 |
RUN . env/bin/activate && pip install --no-cache-dir -r requirements.txt
|