Upload Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -18,7 +18,7 @@ RUN pip install --upgrade pip && pip install -r requirements.txt
|
|
| 18 |
EXPOSE 7860
|
| 19 |
|
| 20 |
# Kesehatan aplikasi
|
| 21 |
-
HEALTHCHECK CMD curl --fail http://localhost:
|
| 22 |
|
| 23 |
# Jalankan aplikasi Streamlit
|
| 24 |
-
CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=
|
|
|
|
| 18 |
EXPOSE 7860
|
| 19 |
|
| 20 |
# Kesehatan aplikasi
|
| 21 |
+
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1
|
| 22 |
|
| 23 |
# Jalankan aplikasi Streamlit
|
| 24 |
+
CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|