pvanand commited on
Commit
fe54b75
·
verified ·
1 Parent(s): 82c5ef4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -7,6 +7,12 @@ WORKDIR /app
7
  # Copy the current directory contents into the container at /app
8
  COPY . /app
9
 
 
 
 
 
 
 
10
  # Install any needed packages specified in requirements.txt
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
 
7
  # Copy the current directory contents into the container at /app
8
  COPY . /app
9
 
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
  # Install any needed packages specified in requirements.txt
17
  RUN pip install --no-cache-dir -r requirements.txt
18