docker: Fix the comments about settings.json copy
The "conditional copy trick" was removed in #3644, but I failed to update the corresponding comment.pull/3885/head
parent
0104c9f321
commit
801d519165
|
@ -53,12 +53,7 @@ RUN bin/installDeps.sh && \
|
||||||
# able to split at spaces.
|
# able to split at spaces.
|
||||||
RUN for PLUGIN_NAME in ${ETHERPAD_PLUGINS}; do npm install "${PLUGIN_NAME}"; done
|
RUN for PLUGIN_NAME in ${ETHERPAD_PLUGINS}; do npm install "${PLUGIN_NAME}"; done
|
||||||
|
|
||||||
# Copy the custom configuration file, if present. The configuration file has to
|
# Copy the configuration file.
|
||||||
# be manually put inside the same directory containing the Dockerfile (we cannot
|
|
||||||
# directly point to "../settings.json" for Docker's security restrictions).
|
|
||||||
#
|
|
||||||
# For the conditional COPY trick, see:
|
|
||||||
# https://stackoverflow.com/questions/31528384/conditional-copy-add-in-dockerfile#46801962
|
|
||||||
COPY ./settings.json /opt/etherpad-lite/
|
COPY ./settings.json /opt/etherpad-lite/
|
||||||
|
|
||||||
# Follow the principle of least privilege: run as unprivileged user.
|
# Follow the principle of least privilege: run as unprivileged user.
|
||||||
|
|
Loading…
Reference in New Issue