feat: add supercronic to allow running background jobs

This commit is contained in:
Daniel Richter
2024-07-07 23:54:34 +02:00
parent 1b9cf5121b
commit 525e40339b
3 changed files with 20 additions and 0 deletions

View File

@@ -286,6 +286,11 @@ VOLUME ["/usr/src/paperless/data", \
"/usr/src/paperless/consume", \
"/usr/src/paperless/export"]
ENV SUPERCRONIC=supercronic-linux-amd64
ENV VERSION=0.2.30
RUN curl -fsSL -o "/usr/local/bin/supercronic" "https://github.com/aptible/supercronic/releases/download/v$VERSION/$SUPERCRONIC"
RUN chmod a+x "/usr/local/bin/supercronic"
ENTRYPOINT ["/sbin/docker-entrypoint.sh"]
EXPOSE 8000