franklab/ssms_gui
2
1FROM python:3.13.5-slim2 3WORKDIR /app4 5RUN apt-get update && apt-get install -y \6 build-essential \7 curl \8 git \9 && rm -rf /var/lib/apt/lists/*10 11# Install uv (multi-stage copy from the official image — no curl/install scripts).12COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/13 14# Resolve and install dependencies from the lockfile (production: no dev group).15COPY pyproject.toml uv.lock ./16RUN uv sync --frozen --no-dev17 18COPY src/ ./src/19 20EXPOSE 850121 22HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health23 24ENTRYPOINT ["uv", "run", "--no-sync", "streamlit", "run", "src/app.py", "--server.port=8501", "--server.address=0.0.0.0"]25 