Save seafile-data info in volume

This commit is contained in:
2021-02-28 23:27:26 +03:00
parent 4dcac70520
commit 310eb9028c
3 changed files with 11 additions and 0 deletions

View File

@@ -20,4 +20,6 @@ RUN chmod +x /seafile-client/start.py && \
chown seafile:seafile -R /seafile-client && \
su - seafile -c "seaf-cli init -d /seafile-client"
VOLUME /seafile-client/seafile-data
CMD ["./start.py"]