FROM python:3.11.4-bookworm as builder WORKDIR /srv COPY . . RUN pip install --no-cache-dir -r requirements.txt RUN pip install . RUN --mount=type=secret,id=pack_config ./create_packs.sh FROM nginx:alpine COPY --from=0 /srv/web /usr/share/nginx/html