parent
f3e2d81fd3
commit
fabbdd03be
|
@ -30,13 +30,12 @@ RUN useradd cryptpad -u 4001 -g 4001 -d /cryptpad
|
||||||
COPY --from=build --chown=cryptpad /cryptpad /cryptpad
|
COPY --from=build --chown=cryptpad /cryptpad /cryptpad
|
||||||
USER cryptpad
|
USER cryptpad
|
||||||
|
|
||||||
# Create directory for data
|
|
||||||
RUN mkdir /cryptpad/data
|
|
||||||
|
|
||||||
|
|
||||||
# Set workdir to cryptpad
|
# Set workdir to cryptpad
|
||||||
WORKDIR /cryptpad
|
WORKDIR /cryptpad
|
||||||
|
|
||||||
|
# Create directories
|
||||||
|
RUN mkdir blob block customize data datastore
|
||||||
|
|
||||||
# Volumes for data persistence
|
# Volumes for data persistence
|
||||||
VOLUME /cryptpad/blob
|
VOLUME /cryptpad/blob
|
||||||
VOLUME /cryptpad/block
|
VOLUME /cryptpad/block
|
||||||
|
|
Loading…
Reference in New Issue