migrate to uv; add docker configs

This commit is contained in:
2026-04-09 00:53:31 +03:00
parent a88203e98f
commit 606dc930e8
25 changed files with 461 additions and 832 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM python:3.12-trixie
COPY --from=ghcr.io/astral-sh/uv:0.11.4 /uv /uvx /bin/
WORKDIR /src
COPY pyproject.toml uv.lock /src/
ENV UV_NO_DEV=1
RUN uv sync --locked
COPY app /src/app
WORKDIR /src/app
EXPOSE 8000
CMD ["uv", "run", "main.py"]