fix: Pnpm not found error
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lukas | AstroGD 2025-02-27 11:07:58 +01:00
parent 71558f3f1d
commit a605c62e11
Signed by: AstroGD
GPG Key ID: 82A5E6C236C535AA
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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