Update nix/nixos and docker setups

This commit is contained in:
Eike Kettner
2020-06-29 21:01:07 +02:00
parent 8998706598
commit ec7b34ee6f
6 changed files with 29 additions and 14 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.7.0/docspell-restserver-0.7.0.zip \
&& curl -L -o docspell.zip https://github.com/eikek/docspell/releases/download/v0.8.0/docspell-restserver-0.8.0.zip \
&& unzip docspell.zip \
&& rm docspell.zip \
&& apk del unzip curl
EXPOSE 7880
ENTRYPOINT ["/opt/docspell-restserver-0.7.0/bin/docspell-restserver"]
ENTRYPOINT ["/opt/docspell-restserver-0.8.0/bin/docspell-restserver"]