diff --git a/nodejs/16/Dockerfile b/nodejs/16/Dockerfile index 0f45f65..2c96133 100644 --- a/nodejs/16/Dockerfile +++ b/nodejs/16/Dockerfile @@ -8,6 +8,9 @@ RUN apt update \ RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global +RUN corepack enable \ + && corepack prepare pnpm@latest --activate + USER container ENV USER=container HOME=/home/container WORKDIR /home/container diff --git a/nodejs/17/Dockerfile b/nodejs/17/Dockerfile index f0c7237..2b2e23e 100644 --- a/nodejs/17/Dockerfile +++ b/nodejs/17/Dockerfile @@ -8,6 +8,9 @@ RUN apt update \ RUN npm install npm@8.11.0 typescript ts-node @types/node --location=global +RUN corepack enable \ + && corepack prepare pnpm@latest --activate + USER container ENV USER=container HOME=/home/container WORKDIR /home/container