'seafile_sync/Dockerfile' updaten
This commit is contained in:
parent
8b4d9f6ec7
commit
f4c80ead34
1 changed files with 9 additions and 2 deletions
|
@ -3,8 +3,8 @@
|
||||||
|
|
||||||
FROM debian:buster-slim
|
FROM debian:buster-slim
|
||||||
|
|
||||||
RUN ln -s /config /library \
|
#RUN ln -s /config /library \
|
||||||
&& ln -s /data/seafuser /home/seafuser
|
# && ln -s /data/seafuser /home/seafuser
|
||||||
|
|
||||||
FROM flowgunso/seafile-client:latest
|
FROM flowgunso/seafile-client:latest
|
||||||
|
|
||||||
|
@ -17,6 +17,13 @@ ENV \
|
||||||
SEAF_LIBRARY_UUID="${LIBRARY_UUID}" \
|
SEAF_LIBRARY_UUID="${LIBRARY_UUID}" \
|
||||||
SEAF_SKIP_SSL_CERT="${SKIP_SSL_CERT}"
|
SEAF_SKIP_SSL_CERT="${SKIP_SSL_CERT}"
|
||||||
|
|
||||||
|
# MOFIFY DATA PATH
|
||||||
|
RUN sed -i "s|library|config|g" /etc/services.d/seafile/run
|
||||||
|
|
||||||
|
RUN sed -i "s|/home/seafuser|/data/seafuser|g" /etc/services.d/seafile/run
|
||||||
|
|
||||||
|
VOLUME [ "/data" ]
|
||||||
|
VOLUME [ "/config" ]
|
||||||
#RUN mkdir /config
|
#RUN mkdir /config
|
||||||
#RUN mkdir /library
|
#RUN mkdir /library
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue