Put customizations inside a volume

This commit is contained in:
Adrian Nöthlich 2020-05-03 02:33:14 +02:00 committed by GitHub
parent 3c80808f18
commit eb81d80aa2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,13 +36,12 @@ USER cryptpad
# Create directory for data
RUN mkdir /cryptpad/data
# Copy customizations into the container
COPY --chown=cryptpad customize /cryptpad/customize
# Set workdir to cryptpad
WORKDIR /cryptpad
# Volumes for data persistence
VOLUME /cryptpad/customize
VOLUME /cryptpad/datastore
VOLUME /cryptpad/data
VOLUME /cryptpad/block