demo docker file

This commit is contained in:
2026-02-17 11:32:25 +00:00
parent 2f75efa964
commit 09be4c2472
7 changed files with 588 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
FROM python:3.11-slim
WORKDIR /app
COPY . .
# Runtime deps only — excludes snowflake, pywebview, pyinstaller, pyarrow, fastparquet
RUN pip install --no-cache-dir \
dash>=2.14.0 \
dash-mantine-components>=0.14.0 \
plotly>=5.15.0 \
pandas>=2.0.3 \
numpy>=1.25.0 \
gunicorn>=21.0.0
# Generate synthetic database at build time
RUN python scripts/generate_demo_db.py
EXPOSE 8050
CMD ["gunicorn", "--bind", "0.0.0.0:8050", "--workers", "2", "--timeout", "120", "dash_app.app:server"]