Files
Aether/backend/Dockerfile
T
2026-01-25 11:30:30 +03:00

18 lines
353 B
Docker

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"]