diff --git a/build-image/node/Dockerfile_16.17.1 b/build-image/node/Dockerfile_16.17.1 index 3872a7f..08e2f9a 100644 --- a/build-image/node/Dockerfile_16.17.1 +++ b/build-image/node/Dockerfile_16.17.1 @@ -9,4 +9,4 @@ RUN apt-get update && \ rm -rf /var/lib/apt/lists/ && \ git config --global --add safe.directory '*' && \ npm install -g pnpm && \ - pnpm config set store-dir /root/.pnpm + pnpm config set store-dir /root/.pnpm diff --git a/build-image/node/Dockerfile_18.17.1 b/build-image/node/Dockerfile_18.17.1 index 7a78713..d6c3e12 100644 --- a/build-image/node/Dockerfile_18.17.1 +++ b/build-image/node/Dockerfile_18.17.1 @@ -1,8 +1,13 @@ FROM node:18.17.1 -LABEL smallkoudai +LABEL beaconfire +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 '*' + git config --global --add safe.directory '*' && \ + npm install -g pnpm && \ + pnpm config set store-dir /root/.pnpm +