mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2025-09-02 18:59:19 +00:00
update seahub Dockerfile
This commit is contained in:
parent
52d03fae97
commit
f4df353241
1 changed files with 5 additions and 7 deletions
|
@ -51,16 +51,14 @@ pycryptodome \
|
||||||
requests_oauthlib \
|
requests_oauthlib \
|
||||||
&& rm -r /root/.cache/pip
|
&& rm -r /root/.cache/pip
|
||||||
|
|
||||||
|
|
||||||
RUN apk add bash
|
RUN apk add bash
|
||||||
|
|
||||||
RUN mkdir -p /opt/seafile/ && cd /opt/seafile/
|
|
||||||
|
|
||||||
COPY --from=get /tmp/seafile-server*/seahub/ /opt/seafile/seahub
|
COPY --from=get /tmp/seafile-server*/seahub/ /opt/seafile/seafile-server-latest/seahub
|
||||||
COPY --from=get /tmp/seafile-server*/seahub.sh /opt/seafile
|
COPY scripts/seahub.sh /opt/seafile/seafile-server-latest
|
||||||
|
COPY scripts /scripts
|
||||||
|
RUN chmod u+x /scripts/*
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
WORKDIR /opt/seafile
|
CMD ["/scripts/start.sh"]
|
||||||
|
|
||||||
CMD ["/opt/seafile/seahub.sh", "start", "8000"]
|
|
Loading…
Add table
Reference in a new issue