From e2d3258d40659244fe854272fb83e6e1397d1f0a Mon Sep 17 00:00:00 2001 From: Lukas | AstroGD Date: Sun, 23 Feb 2025 18:38:56 +0100 Subject: [PATCH] fix: Docker build warnings --- latest/Dockerfile | 5 ++--- lts/Dockerfile | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/latest/Dockerfile b/latest/Dockerfile index 40748f7..206592c 100644 --- a/latest/Dockerfile +++ b/latest/Dockerfile @@ -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 \ No newline at end of file diff --git a/lts/Dockerfile b/lts/Dockerfile index 70049a3..f03c2bd 100644 --- a/lts/Dockerfile +++ b/lts/Dockerfile @@ -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 \ No newline at end of file