copy scripts after binaries

This commit is contained in:
Gerrit Gogel 2021-01-26 22:42:27 +01:00
parent 9b55172cc7
commit a74eea2135

View file

@ -29,9 +29,9 @@ python3-sqlalchemy \
ENV SEAFILE_VERSION=8.0.2 ENV SEAFILE_VERSION=8.0.2
COPY --from=get /tmp/seafile-server-${SEAFILE_VERSION} /opt/seafile/seafile-server-${SEAFILE_VERSION}
COPY scripts /scripts COPY scripts /scripts
RUN chmod u+x /scripts/* RUN chmod u+x /scripts/*
COPY --from=get /tmp/seafile-server-${SEAFILE_VERSION} /opt/seafile/seafile-server-${SEAFILE_VERSION}
RUN mkdir -p /opt/seafile/logs &&\ RUN mkdir -p /opt/seafile/logs &&\
ln -sf /dev/stdout /opt/seafile/logs/seafile.log &&\ ln -sf /dev/stdout /opt/seafile/logs/seafile.log &&\