seafile-containerized/seahub-media/Dockerfile

13 lines
442 B
Docker
Raw Normal View History

2021-01-24 14:32:31 +00:00
FROM alpine:3.13 AS get
ENV SEAFILE_SERVER=seafile-server SEAFILE_VERSION=8.0.3
2021-01-18 23:32:49 +00:00
RUN apk add --no-cache wget
RUN cd /tmp && \
wget https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz && \
tar -zxvf seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz && \
rm -f seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz
FROM caddy:2.2.1-alpine
2021-01-24 14:39:37 +00:00
COPY --from=get /tmp/seafile-server*/seahub/media /usr/share/caddy/media