mirror of
https://github.com/TheAnachronism/docspell.git
synced 2024-11-13 02:31:10 +00:00
20 lines
455 B
Docker
20 lines
455 B
Docker
## CONSUMEDIR
|
|
|
|
ARG VERSION=
|
|
ARG REPO=
|
|
|
|
# hack to use args in from
|
|
FROM ${REPO}:base-binaries-${VERSION} as docspell-base-binaries
|
|
|
|
|
|
FROM ${REPO}:base-${VERSION}
|
|
|
|
RUN apk add --no-cache curl bash inotify-tools
|
|
|
|
COPY --from=docspell-base-binaries /opt/docspell-tools /opt/docspell-tools
|
|
|
|
ENTRYPOINT ["/opt/docspell-tools/consumedir/consumedir-entrypoint.sh"]
|
|
|
|
HEALTHCHECK --interval=1m --timeout=10s --retries=2 --start-period=10s \
|
|
CMD pgrep inotifywait
|