seafile-containerized/seahub-media/Dockerfile
2021-11-20 12:40:53 +03:00

13 lines
444 B
Docker

FROM alpine:3.13.7 AS get
ENV SEAFILE_SERVER=seafile-server SEAFILE_VERSION=9.0.1
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.4.6-alpine
COPY --from=get /tmp/seafile-server*/seahub/media /usr/share/caddy/media