File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 55# Author: muxator
66ARG BUILD_ENV=git
77
8+ ARG PnpmVersion=10.28.2
9+
810FROM node:lts-alpine AS adminbuild
9- RUN npm install -g pnpm@latest
11+ RUN npm install -g pnpm@${PnpmVersion}
1012WORKDIR /opt/etherpad-lite
1113COPY . .
1214RUN pnpm install
@@ -100,7 +102,7 @@ RUN mkdir -p "${EP_DIR}" && chown etherpad:etherpad "${EP_DIR}"
100102# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199
101103RUN \
102104 mkdir -p /usr/share/man/man1 && \
103- npm install pnpm@latest -g && \
105+ npm install pnpm@${PnpmVersion} -g && \
104106 apk update && apk upgrade && \
105107 apk add --no-cache \
106108 ca-certificates \
@@ -139,7 +141,7 @@ ARG ETHERPAD_LOCAL_PLUGINS_ENV=
139141ARG ETHERPAD_GITHUB_PLUGINS=
140142
141143COPY --chown=etherpad:etherpad ./src/ ./src/
142- COPY --chown=etherpad:etherpad --from=adminbuild /opt/etherpad-lite/src/ templates/admin./src/templates/admin
144+ COPY --chown=etherpad:etherpad --from=adminbuild /opt/etherpad-lite/src/templates/admin ./src/templates/admin
143145COPY --chown=etherpad:etherpad --from=adminbuild /opt/etherpad-lite/src/static/oidc ./src/static/oidc
144146
145147COPY --chown=etherpad:etherpad ./local_plugin[s] ./local_plugins/
You can’t perform that action at this time.
0 commit comments