pvanand commited on
Commit
cca1c8b
·
verified ·
1 Parent(s): 8215eda

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -3
Dockerfile CHANGED
@@ -10,10 +10,14 @@ COPY . /app
10
  # Set environment variable for Matplotlib to use a writable directory
11
  ENV MPLCONFIGDIR=/app/matplotlib
12
 
13
- # Create the directory for Matplotlib config
14
- RUN mkdir -p /app/matplotlib
15
 
16
- RUN chmod -R a+w /app/matplotlib
 
 
 
 
17
 
18
  # Install any needed packages specified in requirements.txt
19
  RUN pip install --no-cache-dir -r requirements.txt
 
10
  # Set environment variable for Matplotlib to use a writable directory
11
  ENV MPLCONFIGDIR=/app/matplotlib
12
 
13
+ # Create the directory for Matplotlib config and set write permissions
14
+ RUN mkdir -p /app/matplotlib && chmod -R 777 /app/matplotlib
15
 
16
+ # Set environment variable for IPython to use a writable directory
17
+ ENV IPYTHONDIR=/app/ipython
18
+
19
+ # Create the directory for IPython config and set write permissions
20
+ RUN mkdir -p /app/ipython && chmod -R 777 /app/ipython
21
 
22
  # Install any needed packages specified in requirements.txt
23
  RUN pip install --no-cache-dir -r requirements.txt