diff --git a/latest/Dockerfile b/latest/Dockerfile index 206592c..d52c732 100644 --- a/latest/Dockerfile +++ b/latest/Dockerfile @@ -1,5 +1,6 @@ FROM node:alpine AS base -ENV PNPM_HOME="./.pnpm" +ENV PNPM_HOME="./.pnpm" \ + PATH="$PNPM_HOME:$PATH" RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.shrc" SHELL="$(which sh)" sh - &&\ apk add --no-cache openssl USER node \ No newline at end of file diff --git a/lts/Dockerfile b/lts/Dockerfile index f03c2bd..4658129 100644 --- a/lts/Dockerfile +++ b/lts/Dockerfile @@ -1,5 +1,6 @@ FROM node:lts-alpine AS base -ENV PNPM_HOME="./.pnpm" +ENV PNPM_HOME="./.pnpm" \ + PATH="$PNPM_HOME:$PATH" RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.shrc" SHELL="$(which sh)" sh - &&\ apk add --no-cache openssl USER node \ No newline at end of file