pvanand commited on
Commit
0b28e64
·
verified ·
1 Parent(s): c291e0e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -4,13 +4,15 @@ WORKDIR /app
4
 
5
  COPY . /app
6
 
7
- # Create all necessary directories with universal permissions
8
  RUN mkdir -p /app/output && \
9
  mkdir -p /app/matplotlib && \
10
  mkdir -p /app/ipython && \
11
  mkdir -p /app/kernels && \
12
- chmod -R 777 /app && \
13
- chmod -R 777 /
 
 
14
 
15
  # Set environment variables
16
  ENV MPLCONFIGDIR=/app/matplotlib
 
4
 
5
  COPY . /app
6
 
7
+ # Create necessary directories and set permissions only for what we need
8
  RUN mkdir -p /app/output && \
9
  mkdir -p /app/matplotlib && \
10
  mkdir -p /app/ipython && \
11
  mkdir -p /app/kernels && \
12
+ chmod -R 777 /app/output && \
13
+ chmod -R 777 /app/matplotlib && \
14
+ chmod -R 777 /app/ipython && \
15
+ chmod -R 777 /app/kernels
16
 
17
  # Set environment variables
18
  ENV MPLCONFIGDIR=/app/matplotlib