Try provide docker setup

This commit is contained in:
Eike Kettner
2020-03-31 00:45:43 +02:00
parent efc73c1060
commit 5b21a876aa
5 changed files with 119 additions and 0 deletions

View File

@ -0,0 +1,16 @@
FROM alpine:latest
LABEL maintainer="eikek0 <eike@docspell.org>"
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.4.0/docspell-restserver-0.4.0.zip \
&& unzip docspell.zip \
&& rm docspell.zip \
&& apk del unzip curl
EXPOSE 7880
ENTRYPOINT ["/opt/docspell-restserver-0.4.0/bin/docspell-restserver"]