FROM python:3.15-slim-trixie@sha256:94d3426f1def7db4a106a232ac121bfd975393e5dfd40a619b955fae45fe7913
WORKDIR /app
ENV PYTHONUNBUFFERED=1 PYTHONDONTWRITEBYTECODE=1
COPY requirements.lock ./
RUN pip install --no-cache-dir --require-hashes -r requirements.lock
COPY server.py ./
ENTRYPOINT ["uvicorn","server:app","--host","0.0.0.0","--port","3000","--workers","3","--loop","uvloop","--http","httptools","--timeout-keep-alive","120","--no-access-log","--log-level","warning"]
