chore: Use pnpm to install node packages (#165)

Use pnpm to install node packages
This commit is contained in:
Anatolios Laskaris 2023-07-26 21:57:45 +03:00 committed by GitHub
parent 5a63a96792
commit 427b9a7a82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,8 +153,12 @@ RUN \
/var/tmp/*
# install ceramic and glaze
RUN --mount=type=cache,target=/var/cache/npm \
npm install --cache /var/cache/npm --global \
ENV SHELL=bash
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN curl -fsSL https://get.pnpm.io/install.sh | sh -
RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
pnpm install --prod -g \
@ceramicnetwork/cli@$CERAMIC_VERSION \
@glazed/cli@$GLAZED_VERSION