mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
add seahub-media Dockerfile
This commit is contained in:
parent
dd51676f68
commit
9213edab39
13
seahub-media/Dockerfile
Normal file
13
seahub-media/Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
FROM alpine:3.13 AS alpine
|
||||||
|
ENV SEAFILE_SERVER=seafile-server SEAFILE_VERSION=8.0.2
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
COPY --from=alpine /tmp/seafile-server*/seahub/media/* /usr/share/caddy
|
Loading…
Reference in a new issue