Skip to content

Commit 26e2d67

Browse files
committed
Node22: install pnpm as alpine package
1 parent 0c38147 commit 26e2d67

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

node22/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ RUN echo '@community http://dl-cdn.alpinelinux.org/alpine/v3.21/community' >> /e
77
# DEPENDENCIES #############################################################
88
apk add --update bash git ca-certificates curl openssh tzdata make direnv && \
99
# NODEJS ###################################################################
10-
apk add --update nodejs npm && \
11-
corepack enable && corepack prepare pnpm@latest --activate && \
10+
apk add --update nodejs npm pnpm@community && \
1211
# CLEAN UP #################################################################
1312
rm -rf /var/cache/apk/*
1413

15-
CMD ["nodejs"]
14+
CMD ["node"]

0 commit comments

Comments
 (0)