Spaces:
Sleeping
Sleeping
chore(docker): set PYTHONUNBUFFERED=1 for immediate log flushing
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -11,7 +11,8 @@ ENV PIP_NO_CACHE_DIR=1 \
|
|
11 |
HF_CACHE_DIR=/data/hf-cache \
|
12 |
HUGGINGFACE_HUB_CACHE=/data/hf-cache \
|
13 |
MPLCONFIGDIR=/data/matplotlib \
|
14 |
-
PYTHONPATH=/app:/app/custom_models:$PYTHONPATH
|
|
|
15 |
|
16 |
RUN mkdir -p /data/hf /data/hf-cache /data/matplotlib && chmod -R 777 /data
|
17 |
|
|
|
11 |
HF_CACHE_DIR=/data/hf-cache \
|
12 |
HUGGINGFACE_HUB_CACHE=/data/hf-cache \
|
13 |
MPLCONFIGDIR=/data/matplotlib \
|
14 |
+
PYTHONPATH=/app:/app/custom_models:$PYTHONPATH \
|
15 |
+
PYTHONUNBUFFERED=1
|
16 |
|
17 |
RUN mkdir -p /data/hf /data/hf-cache /data/matplotlib && chmod -R 777 /data
|
18 |
|