Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -14,8 +14,11 @@ COPY src/ ./src/
|
|
14 |
|
15 |
RUN pip3 install -r requirements.txt
|
16 |
|
|
|
|
|
|
|
17 |
EXPOSE 8501
|
18 |
|
19 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
20 |
|
21 |
-
ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
|
|
14 |
|
15 |
RUN pip3 install -r requirements.txt
|
16 |
|
17 |
+
# Create writable tmp directory
|
18 |
+
RUN mkdir -p /app/tmp && chmod -R 777 /app/tmp
|
19 |
+
|
20 |
EXPOSE 8501
|
21 |
|
22 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
23 |
|
24 |
+
ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|