From ec434cf673690441e3ee69e1fbc280f59b2f704a Mon Sep 17 00:00:00 2001 From: ShareVB Date: Mon, 23 Mar 2026 19:34:11 +0100 Subject: [PATCH] chore: Dockerfile warnings --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f21b974f..0ffb5a15 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ # build stage FROM --platform=$BUILDPLATFORM node:lts-alpine AS build-stage # Set environment variables for non-interactive npm installs -ENV NPM_CONFIG_LOGLEVEL warn -ENV CI true +ENV NPM_CONFIG_LOGLEVEL=warn +ENV CI=true RUN apk add --update python3 make g++\ && rm -rf /var/cache/apk/* @@ -13,12 +13,12 @@ RUN npm install -g pnpm && pnpm i --ignore-scripts --frozen-lockfile COPY . . ARG BASE_URL ENV BASE_URL=${BASE_URL} -ENV VITE_VERCEL_ENV production +ENV VITE_VERCEL_ENV=production RUN pnpm build # production stage FROM nginxinc/nginx-unprivileged:stable-alpine AS production-stage -ENV VITE_VERCEL_ENV production +ENV VITE_VERCEL_ENV=production ARG BASE_URL ENV BASE_URL=${BASE_URL} COPY --from=build-stage /app/dist /usr/share/nginx/html