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-06-29 19:01:07 +00:00
&& curl -L -o docspell.zip https://github.com/eikek/docspell/releases/download/v0.8.0/docspell-restserver-0.8.0.zip \
2020-03-30 22:45:43 +00:00
&& unzip docspell.zip \
&& rm docspell.zip \
&& apk del unzip curl
EXPOSE 7880
2020-06-29 19:01:07 +00:00
ENTRYPOINT ["/opt/docspell-restserver-0.8.0/bin/docspell-restserver"]