From c6451f3d8552324aa27874fc75e8d69c78be086d Mon Sep 17 00:00:00 2001 From: Luan Fernandes Date: Sun, 27 Oct 2024 20:05:33 -0300 Subject: [PATCH] create dockerfile --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ac2a960 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM python:3.10-slim + +WORKDIR /app + +COPY requirements.txt . + +RUN pip install --no-cache-dir -r requirements.txt + +COPY . . + +EXPOSE 8501 + +ENV PYTHONPATH=/app +ENV STREAMLIT_SERVER_PORT=8501 +ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0 + +CMD ["streamlit", "run", "Homepage.py"]