This commit is contained in:
Artem Tsyrulnikov
2025-11-08 16:16:04 +03:00
commit 3800c72662
36 changed files with 2136 additions and 0 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM python:3.13-slim-bookworm
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
WORKDIR /app
COPY pyproject.toml uv.lock ./
RUN uv sync --frozen
COPY src ./src
COPY shared ./shared
COPY alembic.ini ./
COPY migration ./migration
ENV PYTHONPATH=/shared:/src
EXPOSE 8000
CMD ["uvicorn src.main:app --host 0.0.0.0 --port 8000"]