seafile-containerized/seahub-media/Dockerfile
2023-10-19 10:36:05 +02:00

13 lines
450 B
Docker

FROM alpine:3.18.4 AS get
ENV SEAFILE_VERSION=11.0.1
RUN apk add --no-cache wget
RUN cd /tmp && \
wget https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz --header="Cache-Control: no-cache" && \
tar -zxvf seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz && \
rm -f seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz
FROM caddy:2.7.5-alpine
COPY --from=get /tmp/seafile-server*/seahub/media /usr/share/caddy/media