Skip to content

Commit 6028d64

Browse files
committed
chore: pinned pnpm version
1 parent f12bcd4 commit 6028d64

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
# Author: muxator
66
ARG BUILD_ENV=git
77

8+
ARG PnpmVersion=10.28.2
9+
810
FROM node:lts-alpine AS adminbuild
9-
RUN npm install -g pnpm@latest
11+
RUN npm install -g pnpm@${PnpmVersion}
1012
WORKDIR /opt/etherpad-lite
1113
COPY . .
1214
RUN 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
101103
RUN \
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=
139141
ARG ETHERPAD_GITHUB_PLUGINS=
140142

141143
COPY --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
143145
COPY --chown=etherpad:etherpad --from=adminbuild /opt/etherpad-lite/src/static/oidc ./src/static/oidc
144146

145147
COPY --chown=etherpad:etherpad ./local_plugin[s] ./local_plugins/

0 commit comments

Comments
 (0)