[32788f42] Keine Zusammenfassung angegeben.

Keine Zusammenfassung angegeben.
This commit is contained in:
2026-04-08 16:39:30 +00:00
parent 2cfda1da57
commit e8c2cdfff9
6 changed files with 409 additions and 275 deletions

View File

@@ -3,6 +3,9 @@ FROM node:20-alpine AS builder
WORKDIR /app
# Accept build arguments
ARG VITE_API_BASE_URL
# Copy package.json and package-lock.json
COPY package*.json ./
@@ -12,6 +15,9 @@ RUN npm install
# Copy the rest of the application source code
COPY . .
# Write the build arg to .env.production so Vite picks it up during build
RUN echo "VITE_API_BASE_URL=${VITE_API_BASE_URL}" > .env.production
# Build the application
RUN npm run build