From d0399e045204fb368349e64a52b237f28f4045fc Mon Sep 17 00:00:00 2001 From: bastien ollier Date: Fri, 21 Jun 2024 16:11:36 +0200 Subject: [PATCH] add dockerfile --- Dockerfile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 337af25..7a16a15 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,12 +9,8 @@ RUN apt-get update && apt-get install -y \ git \ && rm -rf /var/lib/apt/lists/* -RUN ls - +COPY . . RUN pip3 install -r requirements.txt -EXPOSE 8501 - -HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health - -ENTRYPOINT ["streamlit", "run", "streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"] \ No newline at end of file +EXPOSE 80 +ENTRYPOINT ["streamlit", "run", "streamlit_app.py", "--server.port=80", "--server.address=0.0.0.0"] \ No newline at end of file