Skip to content

Instantly share code, notes, and snippets.

@Magnus167
Created May 12, 2025 14:58
Show Gist options
  • Save Magnus167/74bd06250c0ccdfb5a1d9f532eb025a2 to your computer and use it in GitHub Desktop.
Save Magnus167/74bd06250c0ccdfb5a1d9f532eb025a2 to your computer and use it in GitHub Desktop.
FROM python:3.12-slim AS base
RUN pip install uv
ADD requirements.txt .
RUN uv pip install --system --no-cache-dir -r requirements.txt
ADD *.py .
ADD data/ /data/
ENTRYPOINT ["streamlit", "run", "dash.py", "--server.baseUrlPath", "/test/path/for/api"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment