# Note: this is required to run the container as non-root. | |
# Update: | |
# export VERSION=2.5.4 | |
# docker build --build-arg VERSION -t registry.k0.hswaw.net/informatic/paperless-ngx:$VERSION . | |
# docker push registry.k0.hswaw.net/informatic/paperless-ngx:$VERSION | |
ARG VERSION=2.5.4 | |
FROM ghcr.io/paperless-ngx/paperless-ngx:${VERSION} | |
# Install polish tesseract training data | |
RUN apt-get update && apt-get install -y tesseract-ocr-pol && rm -rf /var/lib/apt/lists/* |