mirror of
https://github.com/lorsanstand/Aether.git
synced 2026-06-19 12:05:16 +03:00
18 lines
353 B
Docker
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"] |