Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -11,7 +11,7 @@ COPY ./requirements.txt /app/requirements.txt
|
|
11 |
RUN pip install -r /app/requirements.txt
|
12 |
|
13 |
# Set MPLCONFIGDIR to /tmp
|
14 |
-
ENV MPLCONFIGDIR /tmp
|
15 |
|
16 |
# Copy your Gradio application code into the container
|
17 |
COPY ./app.py /app/app.py
|
@@ -20,7 +20,7 @@ COPY ./app.py /app/app.py
|
|
20 |
COPY ./rf_key_components.pkl /app/rf_key_components.pkl
|
21 |
|
22 |
# Set the correct permissions on /tmp and /app
|
23 |
-
RUN chmod 1777 /tmp && chmod -R 777 /app
|
24 |
|
25 |
# Expose port 7860 for the Gradio application
|
26 |
EXPOSE 7860
|
|
|
11 |
RUN pip install -r /app/requirements.txt
|
12 |
|
13 |
# Set MPLCONFIGDIR to /tmp
|
14 |
+
# ENV MPLCONFIGDIR /tmp
|
15 |
|
16 |
# Copy your Gradio application code into the container
|
17 |
COPY ./app.py /app/app.py
|
|
|
20 |
COPY ./rf_key_components.pkl /app/rf_key_components.pkl
|
21 |
|
22 |
# Set the correct permissions on /tmp and /app
|
23 |
+
# RUN chmod 1777 /tmp && chmod -R 777 /app
|
24 |
|
25 |
# Expose port 7860 for the Gradio application
|
26 |
EXPOSE 7860
|