mirror of
https://github.com/xwiki-labs/cryptpad-docker.git
synced 2024-11-15 01:45:04 +00:00
Fix permission of volumes
Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
parent
f3e2d81fd3
commit
fabbdd03be
1 changed files with 3 additions and 4 deletions
|
@ -30,13 +30,12 @@ RUN useradd cryptpad -u 4001 -g 4001 -d /cryptpad
|
|||
COPY --from=build --chown=cryptpad /cryptpad /cryptpad
|
||||
USER cryptpad
|
||||
|
||||
# Create directory for data
|
||||
RUN mkdir /cryptpad/data
|
||||
|
||||
|
||||
# Set workdir to cryptpad
|
||||
WORKDIR /cryptpad
|
||||
|
||||
# Create directories
|
||||
RUN mkdir blob block customize data datastore
|
||||
|
||||
# Volumes for data persistence
|
||||
VOLUME /cryptpad/blob
|
||||
VOLUME /cryptpad/block
|
||||
|
|
Loading…
Reference in a new issue