Skip to content

Commit

Permalink
Merge pull request #10 from opensourceways/dev_openeuler_v197
Browse files Browse the repository at this point in the history
move the install the deps in dcokerfile
  • Loading branch information
TomNewChao authored Dec 2, 2024
2 parents 40274f7 + 4736f72 commit 61f093f
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 61f093f

Please sign in to comment.