докер

This commit is contained in:
2026-02-03 11:18:00 +03:00
parent c2ba306733
commit 92a5b51394
4 changed files with 57 additions and 1 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM python:3.12-slim
WORKDIR /app
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
COPY pyproject.toml uv.lock ./
RUN uv sync --frozen --no-dev
COPY main.py ./
COPY src/ ./src/
RUN mkdir -p data data_partial
CMD ["uv", "run", "main.py"]