Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
|
@@ -14,13 +14,13 @@ COPY src/ ./src/
|
|
| 14 |
|
| 15 |
RUN pip3 install -r requirements.txt
|
| 16 |
|
| 17 |
-
# Create config directories and set environment variables
|
| 18 |
-
RUN mkdir -p /app/.streamlit /app/.matplotlib && \
|
| 19 |
-
|
| 20 |
|
| 21 |
-
ENV STREAMLIT_CONFIG_DIR=/app/.streamlit
|
| 22 |
-
ENV MPLCONFIGDIR=/app/.matplotlib
|
| 23 |
-
EXPOSE 8501
|
| 24 |
|
| 25 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 26 |
|
|
|
|
| 14 |
|
| 15 |
RUN pip3 install -r requirements.txt
|
| 16 |
|
| 17 |
+
# # Create config directories and set environment variables
|
| 18 |
+
# RUN mkdir -p /app/.streamlit /app/.matplotlib && \
|
| 19 |
+
# chmod -R 777 /app/.streamlit /app/.matplotlib
|
| 20 |
|
| 21 |
+
# ENV STREAMLIT_CONFIG_DIR=/app/.streamlit
|
| 22 |
+
# ENV MPLCONFIGDIR=/app/.matplotlib
|
| 23 |
+
# EXPOSE 8501
|
| 24 |
|
| 25 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 26 |
|