FROM python:3.12-slim WORKDIR /app COPY requirements.txt . RUN pip install uv && uv pip install --system --no-cache-dir -r requirements.txt COPY app/ ./app/ COPY tests/ ./tests/ # Stamped by CI so /health can prove WHICH build is running. A deploy that # reports success while the old container keeps running is otherwise silent # -- exactly how production served two-day-old code for two days. ARG GIT_SHA=unknown ENV GIT_SHA=$GIT_SHA # The release tag this build becomes (node-26#49), e.g. 1.1.4. ARG DRB_VERSION=untagged ENV DRB_VERSION=$DRB_VERSION CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]