mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-20 17:39:54 +00:00
Add a docker image for watching a directory
This commit is contained in:
15
docker/consumedir.dockerfile
Normal file
15
docker/consumedir.dockerfile
Normal file
@ -0,0 +1,15 @@
|
||||
FROM alpine:latest
|
||||
|
||||
LABEL maintainer="eikek0 <eike@docspell.org>"
|
||||
|
||||
RUN apk add --no-cache unzip curl bash inotify-tools
|
||||
|
||||
RUN mkdir -p /opt \
|
||||
&& cd /opt \
|
||||
&& curl -L -o docspell.zip https://github.com/eikek/docspell/releases/download/v0.6.0/docspell-tools-0.6.0.zip \
|
||||
&& unzip docspell.zip \
|
||||
&& rm docspell.zip \
|
||||
&& apk del unzip \
|
||||
&& chmod 755 /opt/docspell-tools-0.6.0/*.sh
|
||||
|
||||
ENTRYPOINT ["/opt/docspell-tools-0.6.0/consumedir.sh"]
|
Reference in New Issue
Block a user