diff --git a/latest/Dockerfile b/latest/Dockerfile index 40748f7..206592c 100644 --- a/latest/Dockerfile +++ b/latest/Dockerfile @@ -1,6 +1,5 @@ -FROM node:alpine as BASE -ENV PNPM_HOME="./.pnpm" \ - PATH="$PNPM_HOME:$PATH" +FROM node:alpine AS base +ENV PNPM_HOME="./.pnpm" 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 70049a3..f03c2bd 100644 --- a/lts/Dockerfile +++ b/lts/Dockerfile @@ -1,6 +1,5 @@ -FROM node:lts-alpine as BASE -ENV PNPM_HOME="./.pnpm" \ - PATH="$PNPM_HOME:$PATH" +FROM node:lts-alpine AS base +ENV PNPM_HOME="./.pnpm" 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