From eb81d80aa2dd9d86121ae03950dac5e70b0a75ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20N=C3=B6thlich?= Date: Sun, 3 May 2020 02:33:14 +0200 Subject: [PATCH] Put customizations inside a volume --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9a5b794..18cc6c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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