htmx_examples / Dockerfile
phihung's picture
fix: Fix progressbar example
2074e2e
raw
history blame contribute delete
405 Bytes
FROM python:3.11-slim
COPY --chown=user --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
RUN useradd -m -u 1000 user
USER user
WORKDIR /app
ADD uv.lock /app/uv.lock
ADD pyproject.toml /app/pyproject.toml
RUN uv sync --no-dev --frozen --no-install-project
COPY --chown=user public ./public
COPY --chown=user src ./src
RUN touch README.md
RUN uv sync --no-dev --frozen
CMD [".venv/bin/start_tutorial"]