FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py pii.py ./
ENV BIND=0.0.0.0 PORT=8600
# Shell form on purpose: BIND and PORT come from the environment.
CMD uvicorn app:app --host "$BIND" --port "$PORT"
