Skip to content

Commit 1007914

Browse files
committed
Document Alpine get-pnpm setup with pnpm issue context
1 parent b222b9e commit 1007914

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎Dockerfile‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ WORKDIR /
99
# Install necessary tools
1010
RUN apk add --no-cache libc6-compat yq build-base g++ cairo-dev jpeg-dev pango-dev giflib-dev --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
1111

12-
# Install pnpm
12+
# Install pnpm on Alpine Linux using get-pnpm
13+
# https://github.com/pnpm/pnpm/issues/784#issuecomment-1518582235
1314
COPY package.json /app/
1415
ENV PNPM_HOME=/pnpm
1516
ENV PATH="$PNPM_HOME/bin:$PATH"
@@ -36,7 +37,8 @@ WORKDIR /
3637
# Install necessary tools
3738
RUN apk add bash postgresql cairo pango jpeg musl giflib pixman pangomm libjpeg-turbo freetype
3839

39-
# Install pnpm
40+
# Install pnpm on Alpine Linux using get-pnpm
41+
# https://github.com/pnpm/pnpm/issues/784#issuecomment-1518582235
4042
COPY --from=builder /app/package.json /app/
4143
ENV PNPM_HOME=/pnpm
4244
ENV PATH="$PNPM_HOME/bin:$PATH"

0 commit comments

Comments
 (0)