FROM python:3.12-slim
LABEL org.opencontainers.image.source=https://github.com/amortized-ai/asynth
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv

WORKDIR /build
COPY . .
RUN uv pip install --system --no-cache .
WORKDIR /

USER 1001
