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:17:23 +01:00
parent a605c62e11
commit 23d23bf213
Signed by: AstroGD
GPG Key ID: 82A5E6C236C535AA
2 changed files with 4 additions and 4 deletions

View File

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

View File

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