Skip to content

Commit

Permalink
feat(Dockerfile): add simple dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
senges committed Dec 5, 2024
1 parent 0c5dbe6 commit 7aeca7a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM ghcr.io/astral-sh/uv:python3.13-alpine AS packager

WORKDIR /app

RUN --mount=source=pyproject.toml,target=pyproject.toml \
--mount=source=uv.lock,target=uv.lock \
--mount=source=tovald,target=tovald \
uv sync --frozen --no-editable

FROM python:3.13-alpine

COPY --from=packager /app/.venv /app/.venv

ENTRYPOINT ["/app/.venv/bin/tovald"]

0 comments on commit 7aeca7a

Please sign in to comment.