Updated docker related configs (#2)

Co-authored-by: pptx704 <rafeedm.bhuiyan@gmail.com>
Reviewed-on: #2
This commit is contained in:
2025-07-17 12:55:20 +00:00
parent c3213938a0
commit 7a8a933da2
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