Skip to content

Commit

Permalink
Fix etherpad build
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvanes committed Jul 8, 2024
1 parent 3cc4f84 commit 3098fcd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sram-etherpad/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ USER etherpad

WORKDIR "${EP_DIR}"

RUN [ -z "${ETHERPAD_PLUGINS}" ] || npm install ${ETHERPAD_PLUGINS}
RUN bin/installDeps.sh && rm -rf ~/.npm && rm -rf ~/.local && rm -rf ~/.cache && \
if [ ! -z "${ETHERPAD_PLUGINS}" ]; then \
pnpm run plugins i ${ETHERPAD_PLUGINS}; \
fi

# EXPOSE 9001
# CMD ["node", "src/node/server.js"]

0 comments on commit 3098fcd

Please sign in to comment.