| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:0387b3d029de8fa08641ccfaa44c6a4ad07b93035420d53b49783ea27527d153 in / |
| CMD ["/bin/bash"] |
| ARG SECURITY_CHECK_DATE=2026-06-16 |
| RUN |1 SECURITY_CHECK_DATE=2026-06-16 /bin/sh -c groupadd --system nonroot && useradd --system --no-create-home --gid nonroot nonroot && apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y ca-certificates tzdata tesseract-ocr libtesseract5 liblept5 poppler-utils libssl3t64 && rm -rf /var/lib/apt/lists/* # buildkit |
| USER nonroot |
| WORKDIR /app |
| COPY --chown=nonroot:nonroot --chmod=700 /app/webservice . # buildkit |
| COPY --chown=nonroot:nonroot /app/migrations ./migrations # buildkit |
| EXPOSE [8080/tcp] |
| CMD ["./webservice"] |