mirror of
https://github.com/xwiki-labs/cryptpad-docker.git
synced 2024-11-24 15:05:03 +00:00
Put customizations inside a volume
This commit is contained in:
parent
3c80808f18
commit
eb81d80aa2
1 changed files with 1 additions and 2 deletions
|
@ -36,13 +36,12 @@ USER cryptpad
|
||||||
# Create directory for data
|
# Create directory for data
|
||||||
RUN mkdir /cryptpad/data
|
RUN mkdir /cryptpad/data
|
||||||
|
|
||||||
# Copy customizations into the container
|
|
||||||
COPY --chown=cryptpad customize /cryptpad/customize
|
|
||||||
|
|
||||||
# Set workdir to cryptpad
|
# Set workdir to cryptpad
|
||||||
WORKDIR /cryptpad
|
WORKDIR /cryptpad
|
||||||
|
|
||||||
# Volumes for data persistence
|
# Volumes for data persistence
|
||||||
|
VOLUME /cryptpad/customize
|
||||||
VOLUME /cryptpad/datastore
|
VOLUME /cryptpad/datastore
|
||||||
VOLUME /cryptpad/data
|
VOLUME /cryptpad/data
|
||||||
VOLUME /cryptpad/block
|
VOLUME /cryptpad/block
|
||||||
|
|
Loading…
Reference in a new issue