From 23d23bf2135b5b1f40d4f59780e8b240ba637a36 Mon Sep 17 00:00:00 2001 From: Lukas | AstroGD Date: Thu, 27 Feb 2025 11:17:23 +0100 Subject: [PATCH] fix: PNPM not found error --- latest/Dockerfile | 4 ++-- lts/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/latest/Dockerfile b/latest/Dockerfile index d52c732..636a2d8 100644 --- a/latest/Dockerfile +++ b/latest/Dockerfile @@ -1,6 +1,6 @@ FROM node:alpine AS base -ENV PNPM_HOME="./.pnpm" \ - PATH="$PNPM_HOME:$PATH" +ENV PNPM_HOME="./.pnpm" +ENV 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 4658129..7544580 100644 --- a/lts/Dockerfile +++ b/lts/Dockerfile @@ -1,6 +1,6 @@ FROM node:lts-alpine AS base -ENV PNPM_HOME="./.pnpm" \ - PATH="$PNPM_HOME:$PATH" +ENV PNPM_HOME="./.pnpm" +ENV 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