Add Streamlit Docker auto-sync deployment

This commit is contained in:
2026-05-14 21:19:34 +02:00
parent d9f251b2fc
commit 9e4599718d
10 changed files with 291 additions and 5 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
ENV STREAMLIT_SERVER_PORT=8501
ENV STREAMLIT_BROWSER_GATHER_USAGE_STATS=false
WORKDIR /app
COPY pyproject.toml readme.md LICENSE ./
COPY src ./src
COPY app.py ./
RUN python -m pip install --no-cache-dir --upgrade pip \
&& python -m pip install --no-cache-dir -e .
EXPOSE 8501
CMD ["python", "-m", "streamlit", "run", "app.py"]