add proper access rights to created folders

This commit is contained in:
Mathilde Grünig 2023-06-22 15:06:20 +02:00
parent cd0ca6fa88
commit 909cba230c
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,8 @@ COPY docker-entrypoint.sh /docker-entrypoint.sh
WORKDIR /cryptpad WORKDIR /cryptpad
# Create directories # Create directories
RUN mkdir blob block customize data datastore RUN mkdir blob block customize data datastore \
&& chown cryptpad:cryptpad blob block customize data datastore
# Volumes for data persistence # Volumes for data persistence
VOLUME /cryptpad/blob VOLUME /cryptpad/blob