Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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 |
|