mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
only copy required folders from seahub
This commit is contained in:
parent
223677ae9a
commit
bea3bc7f11
|
@ -1,3 +1,4 @@
|
||||||
|
# syntax=docker/dockerfile:1.7-labs
|
||||||
FROM alpine:3.20.2 AS get
|
FROM alpine:3.20.2 AS get
|
||||||
|
|
||||||
RUN apk add --no-cache wget
|
RUN apk add --no-cache wget
|
||||||
|
@ -56,7 +57,10 @@ python3 \
|
||||||
|
|
||||||
COPY --from=pip /pip-deps /usr/local/lib/python3.10/dist-packages
|
COPY --from=pip /pip-deps /usr/local/lib/python3.10/dist-packages
|
||||||
|
|
||||||
COPY --from=get /tmp/seafile-server-${SEAFILE_VERSION} /opt/seafile/seafile-server-${SEAFILE_VERSION}
|
COPY --from=get --exclude=/tmp/seafile-server-${SEAFILE_VERSION}/seahub /tmp/seafile-server-${SEAFILE_VERSION} /opt/seafile/seafile-server-${SEAFILE_VERSION}
|
||||||
|
COPY --from=get /tmp/seafile-server-${SEAFILE_VERSION}/seahub/thirdpart/seafobj /opt/seafile/seafile-server-${SEAFILE_VERSION}/seahub/thirdpart/seafobj
|
||||||
|
COPY --from=get /tmp/seafile-server-${SEAFILE_VERSION}/seahub/scripts /opt/seafile/seafile-server-${SEAFILE_VERSION}/seahub/thirdpart/scripts
|
||||||
|
COPY --from=get /tmp/seafile-server-${SEAFILE_VERSION}/seahub/media/avatars /opt/seafile/seafile-server-${SEAFILE_VERSION}/seahub/media/avatars
|
||||||
|
|
||||||
COPY scripts /scripts
|
COPY scripts /scripts
|
||||||
RUN chmod u+x /scripts/*
|
RUN chmod u+x /scripts/*
|
||||||
|
|
Loading…
Reference in a new issue