docspell/docker/restserver.dockerfile

17 lines
433 B
Plaintext
Raw Normal View History

2020-03-30 22:45:43 +00:00
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 \
2020-04-30 20:38:53 +00:00
&& curl -L -o docspell.zip https://github.com/eikek/docspell/releases/download/v0.5.0/docspell-restserver-0.5.0.zip \
2020-03-30 22:45:43 +00:00
&& unzip docspell.zip \
&& rm docspell.zip \
&& apk del unzip curl
EXPOSE 7880
2020-04-30 20:38:53 +00:00
ENTRYPOINT ["/opt/docspell-restserver-0.5.0/bin/docspell-restserver"]