」 feat: added env variable to front

This commit is contained in:
2025-10-16 13:25:36 +02:00
parent d80beff543
commit 2cafd7afac
4 changed files with 10 additions and 4 deletions

View File

@ -13,6 +13,9 @@ RUN cd /build \
FROM node:lts-alpine AS builder-vite
ARG VITE_USER_URL
ARG VITE_AUTH_URL
RUN npm install -g pnpm
WORKDIR /app
@ -24,8 +27,8 @@ RUN pnpm install --frozen-lockfile
COPY vite.config.js tailwind.config.js ./
COPY src ./src
RUN pnpm vite build
RUN VITE_USER_URL=${VITE_USER_URL} VITE_AUTH_URL=${VITE_AUTH_URL}\
pnpm vite build
FROM alpine:3.22