mirror of
https://github.com/fluencelabs/node-distro
synced 2024-12-04 15:20:17 +00:00
chore: Use pnpm to install node packages (#165)
Use pnpm to install node packages
This commit is contained in:
parent
5a63a96792
commit
427b9a7a82
12
Dockerfile
12
Dockerfile
@ -153,10 +153,14 @@ RUN \
|
|||||||
/var/tmp/*
|
/var/tmp/*
|
||||||
|
|
||||||
# install ceramic and glaze
|
# install ceramic and glaze
|
||||||
RUN --mount=type=cache,target=/var/cache/npm \
|
ENV SHELL=bash
|
||||||
npm install --cache /var/cache/npm --global \
|
ENV PNPM_HOME="/pnpm"
|
||||||
@ceramicnetwork/cli@$CERAMIC_VERSION \
|
ENV PATH="$PNPM_HOME:$PATH"
|
||||||
@glazed/cli@$GLAZED_VERSION
|
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
|
||||||
|
|
||||||
# copy geth
|
# copy geth
|
||||||
COPY --from=prepare-geth /usr/local/bin/geth /usr/bin/geth
|
COPY --from=prepare-geth /usr/local/bin/geth /usr/bin/geth
|
||||||
|
Loading…
Reference in New Issue
Block a user