mirror of https://github.com/xwiki-labs/cryptpad
add proper access rights to created folders
This commit is contained in:
parent
cd0ca6fa88
commit
909cba230c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue