Add docker

This commit is contained in:
2026-01-10 17:51:08 +03:00
parent 62d33acde9
commit 8167c77a27
36 changed files with 1351 additions and 117 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM python:3.13.7-bookworm
WORKDIR /app
RUN pip install --no-cache-dir poetry
COPY pyproject.toml poetry.lock ./
RUN poetry config virtualenvs.create false && \
poetry install --no-interaction --no-ansi --no-root
COPY app/ ./app
COPY alembic.ini .
COPY scripts ./scripts
RUN chmod +x /app/scripts/prestart.sh
CMD ["python", "-m", "app.main"]