From 4736f720dc621be6efde03efbae9caea3f0e80fd Mon Sep 17 00:00:00 2001 From: TomNewChao Date: Sun, 1 Dec 2024 20:50:02 +0800 Subject: [PATCH] move the install the deps in dcokerfile --- Dockerfile_openeuler | 1 + bin/run.sh | 2 +- src/bin/run.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile_openeuler b/Dockerfile_openeuler index a9dd93239531..dbe2936c5933 100644 --- a/Dockerfile_openeuler +++ b/Dockerfile_openeuler @@ -36,6 +36,7 @@ RUN { [ -z "${ETHERPAD_PLUGINS}" ] || \ src/bin/installDeps.sh && \ rm -rf ~/.npm +RUN /opt/etherpad-lite/src/bin/installDeps.sh RUN cp /opt/etherpad-lite/script/client.js /opt/etherpad-lite/node_modules/openid-client/lib/client.js RUN chmod -R g=u . diff --git a/bin/run.sh b/bin/run.sh index b655e96354ae..d36d2c68252f 100755 --- a/bin/run.sh +++ b/bin/run.sh @@ -27,7 +27,7 @@ EOF fi # Prepare the environment -src/bin/installDeps.sh "$@" || exit 1 +#src/bin/installDeps.sh "$@" || exit 1 # Move to the node folder and start log "Starting Etherpad..." diff --git a/src/bin/run.sh b/src/bin/run.sh index b655e96354ae..a7d739f169ac 100644 --- a/src/bin/run.sh +++ b/src/bin/run.sh @@ -27,7 +27,7 @@ EOF fi # Prepare the environment -src/bin/installDeps.sh "$@" || exit 1 +# src/bin/installDeps.sh "$@" || exit 1 # Move to the node folder and start log "Starting Etherpad..."