mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 08:01:02 -04:00
fix docker install
This commit is contained in:
parent
1f677cf88c
commit
44c226368a
2 changed files with 3 additions and 3 deletions
2
.github/workflows/backend-tests.yml
vendored
2
.github/workflows/backend-tests.yml
vendored
|
@ -223,7 +223,7 @@ jobs:
|
||||||
# The --legacy-peer-deps flag is required to work around a bug in npm
|
# The --legacy-peer-deps flag is required to work around a bug in npm
|
||||||
# v7: https://github.com/npm/cli/issues/2199
|
# v7: https://github.com/npm/cli/issues/2199
|
||||||
run: >
|
run: >
|
||||||
pnpm install
|
pnpm install --workspace-root
|
||||||
ep_align
|
ep_align
|
||||||
ep_author_hover
|
ep_author_hover
|
||||||
ep_cursortrace
|
ep_cursortrace
|
||||||
|
|
|
@ -98,7 +98,7 @@ COPY --chown=etherpad:etherpad ./src/package.json .npmrc ./src/pnpm-lock.yaml ./
|
||||||
COPY --chown=etherpad:etherpad ./src/bin ./src/bin
|
COPY --chown=etherpad:etherpad ./src/bin ./src/bin
|
||||||
|
|
||||||
RUN { [ -z "${ETHERPAD_PLUGINS}" ] || \
|
RUN { [ -z "${ETHERPAD_PLUGINS}" ] || \
|
||||||
pnpm install --no-save --legacy-peer-deps ${ETHERPAD_PLUGINS}; } && \
|
pnpm install --workspace-root ${ETHERPAD_PLUGINS}; } && \
|
||||||
src/bin/installDeps.sh
|
src/bin/installDeps.sh
|
||||||
|
|
||||||
FROM build as production
|
FROM build as production
|
||||||
|
@ -120,7 +120,7 @@ COPY --chown=etherpad:etherpad ./src ./src
|
||||||
# seems to confuse tools such as `npm outdated`, `npm update`, and some ESLint
|
# seems to confuse tools such as `npm outdated`, `npm update`, and some ESLint
|
||||||
# rules.
|
# rules.
|
||||||
RUN { [ -z "${ETHERPAD_PLUGINS}" ] || \
|
RUN { [ -z "${ETHERPAD_PLUGINS}" ] || \
|
||||||
pnpm install --no-save --legacy-peer-deps ${ETHERPAD_PLUGINS}; } && \
|
pnpm install --workspace-root ${ETHERPAD_PLUGINS}; } && \
|
||||||
src/bin/installDeps.sh && \
|
src/bin/installDeps.sh && \
|
||||||
rm -rf ~/.npm
|
rm -rf ~/.npm
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue