mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-02 21:42:52 +00:00
23 lines
488 B
Docker
23 lines
488 B
Docker
## JOEX
|
|
|
|
ARG VERSION=
|
|
ARG REPO=
|
|
|
|
# hack to use args in from
|
|
FROM ${REPO}:base-binaries-${VERSION} as docspell-base-binaries
|
|
|
|
|
|
FROM ${REPO}:joex-base-${VERSION}
|
|
|
|
ENV OCRMYPDF_VERSION=latest
|
|
|
|
COPY --from=docspell-base-binaries /opt/docspell-joex /opt/docspell-joex
|
|
COPY joex-entrypoint.sh /opt/joex-entrypoint.sh
|
|
|
|
ENTRYPOINT ["/opt/joex-entrypoint.sh"]
|
|
CMD ["/opt/docspell.conf"]
|
|
EXPOSE 7878
|
|
|
|
HEALTHCHECK --interval=1m --timeout=10s --retries=2 --start-period=10s \
|
|
CMD pgrep -f joex/lib
|