diff --git a/build-image/node/Dockerfile_16.17.1 b/build-image/node/Dockerfile_16.17.1 index c2835d1..3872a7f 100644 --- a/build-image/node/Dockerfile_16.17.1 +++ b/build-image/node/Dockerfile_16.17.1 @@ -2,10 +2,11 @@ FROM node:16.17.1 LABEL beaconfire -ENV PNPM_HOME="~/.pnpm" PATH="$PATH:$PNPM_HOME" - +ENV PNPM_HOME="/root/.pnpm" +ENV PATH="$PNPM_HOME:$PATH" RUN apt-get update && \ - apt-get install -y --no-install-recommends ca-certificates curl rsync && \ + apt-get install -y --no-install-recommends ca-certificates curl && \ rm -rf /var/lib/apt/lists/ && \ git config --global --add safe.directory '*' && \ - npm install -g pnpm + npm install -g pnpm && \ + pnpm config set store-dir /root/.pnpm