FROM python:3.12-slim-bookworm
WORKDIR /src
COPY pyproject.toml README.txt /src/
COPY specstream_client /src/specstream_client
RUN pip install --no-cache-dir .
USER nobody
ENTRYPOINT ["specstream"]
