Skip to content

Commit

Permalink
move the install the deps in dcokerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNewChao committed Dec 2, 2024
1 parent 40274f7 commit 4736f72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile_openeuler
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down
2 changes: 1 addition & 1 deletion bin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down
2 changes: 1 addition & 1 deletion src/bin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down

0 comments on commit 4736f72

Please sign in to comment.