Update nix and docker setups

This commit is contained in:
Eike Kettner
2020-05-25 17:52:48 +02:00
parent 9caa074657
commit 0b7cc0ec6b
6 changed files with 28 additions and 9 deletions

View File

@ -6,11 +6,11 @@ RUN apk add --no-cache openjdk11-jre unzip curl bash
RUN mkdir -p /opt \
&& cd /opt \
&& curl -L -o docspell.zip https://github.com/eikek/docspell/releases/download/v0.5.0/docspell-restserver-0.5.0.zip \
&& curl -L -o docspell.zip https://github.com/eikek/docspell/releases/download/v0.6.0/docspell-restserver-0.6.0.zip \
&& unzip docspell.zip \
&& rm docspell.zip \
&& apk del unzip curl
EXPOSE 7880
ENTRYPOINT ["/opt/docspell-restserver-0.5.0/bin/docspell-restserver"]
ENTRYPOINT ["/opt/docspell-restserver-0.6.0/bin/docspell-restserver"]