'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
|
||||
|
||||
RUN ln -s /config /library \
|
||||
&& ln -s /data/seafuser /home/seafuser
|
||||
#RUN ln -s /config /library \
|
||||
# && ln -s /data/seafuser /home/seafuser
|
||||
|
||||
FROM flowgunso/seafile-client:latest
|
||||
|
||||
|
@ -17,6 +17,13 @@ ENV \
|
|||
SEAF_LIBRARY_UUID="${LIBRARY_UUID}" \
|
||||
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 /library
|
||||
|
||||
|
|
Loading…
Reference in a new issue