'seafile_sync/Dockerfile' updaten

This commit is contained in:
Lermer 2022-08-01 12:27:17 +02:00
parent 8b4d9f6ec7
commit f4c80ead34

View file

@ -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