PhoenixStormJr commited on
Commit
cb1e6e6
·
verified ·
1 Parent(s): 2e08de5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -6
Dockerfile CHANGED
@@ -11,13 +11,11 @@ COPY . .
11
  ENV MPLCONFIGDIR=/tmp/.matplotlib
12
  ENV NUMBA_CACHE_DIR=/tmp/numba_cache
13
 
14
- # Make necessary dirs/files writable
15
  RUN mkdir -p /app/logs /app/TEMP && \
16
- chmod -R 777 /app/logs /app/TEMP && \
17
- chmod -R 777 /app/configs
18
-
19
- # Pre-touch configs/32k.json if it doesn't exist (sometimes COPY sets files to read-only)
20
- RUN [ ! -f /app/configs/32k.json ] || chmod 666 /app/configs/32k.json
21
 
22
  RUN pip3 install -r requirements.txt
23
 
 
11
  ENV MPLCONFIGDIR=/tmp/.matplotlib
12
  ENV NUMBA_CACHE_DIR=/tmp/numba_cache
13
 
14
+ # Make necessary dirs and files writable
15
  RUN mkdir -p /app/logs /app/TEMP && \
16
+ chmod -R 777 /app/logs /app/TEMP /app/configs && \
17
+ chmod 666 /app/configs/32k.json || true && \
18
+ chmod 666 /app/trainset_preprocess_pipeline_print.py || true
 
 
19
 
20
  RUN pip3 install -r requirements.txt
21