# Stands in for a real application image. The point of building from the payload
# rather than pulling is that stack_build then controls when a rebuild happens —
# see "Deploy versus update" in the README.
FROM python:3.12-slim

WORKDIR /app
COPY serve.py migrate.sh ./
RUN chmod +x migrate.sh

EXPOSE 8080
CMD ["python", "serve.py"]
