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