fix: Docker build warnings
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lukas | AstroGD 2025-02-23 18:38:56 +01:00
parent b031dc1ac3
commit e2d3258d40
Signed by: AstroGD
GPG Key ID: 82A5E6C236C535AA
2 changed files with 4 additions and 6 deletions

View File

@ -1,6 +1,5 @@
FROM node:alpine as BASE
ENV PNPM_HOME="./.pnpm" \
PATH="$PNPM_HOME:$PATH"
FROM node:alpine AS base
ENV PNPM_HOME="./.pnpm"
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,5 @@
FROM node:lts-alpine as BASE
ENV PNPM_HOME="./.pnpm" \
PATH="$PNPM_HOME:$PATH"
FROM node:lts-alpine AS base
ENV PNPM_HOME="./.pnpm"
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.shrc" SHELL="$(which sh)" sh - &&\
apk add --no-cache openssl
USER node