Updated docker configs

This commit is contained in:
pptx704
2025-07-17 15:52:34 +03:00
parent 90ae2ea8e4
commit bc36158de9
2 changed files with 21 additions and 8 deletions

View File

@ -3,8 +3,6 @@ FROM python:3.12-slim
# Turns off buffering for easier container logging
ENV PYTHONUNBUFFERED=1
COPY --from=ghcr.io/ufoscout/docker-compose-wait:latest /wait /wait
WORKDIR /app
# Install poetry
@ -24,4 +22,4 @@ RUN poetry install --only main
EXPOSE 8000
CMD /wait; poetry run alembic upgrade head; poetry run fastapi run
CMD poetry run alembic upgrade head; poetry run fastapi run