FROM python:latest WORKDIR /app COPY requirements.txt . RUN pip install pip -U RUN pip install -r requirements.txt COPY . . RUN alembic upgrade head CMD ["python", "main.py"]