binuser007 commited on
Commit
ee0c14d
·
verified ·
1 Parent(s): 919e56b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -27,6 +27,10 @@ COPY requirements.txt /app/requirements.txt
27
  RUN pip install --upgrade pip \
28
  && pip install -r /app/requirements.txt
29
 
 
 
 
 
30
  # Copy the Gradio app code to the container
31
  COPY app.py /app/app.py
32
 
 
27
  RUN pip install --upgrade pip \
28
  && pip install -r /app/requirements.txt
29
 
30
+ # Set MPLCONFIGDIR to a writable directory
31
+ ENV MPLCONFIGDIR=/tmp/.matplotlib
32
+
33
+
34
  # Copy the Gradio app code to the container
35
  COPY app.py /app/app.py
36