Fix: VITE_PB_URL als Docker build-arg (api.vereins.haus)

This commit is contained in:
rene 2026-05-18 18:52:13 +02:00
parent 773046c80d
commit 94ca36f470
2 changed files with 4 additions and 0 deletions

View file

@ -3,6 +3,8 @@ WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
ARG VITE_PB_URL=http://vereinshaus-pocketbase:8090
ENV VITE_PB_URL=$VITE_PB_URL
RUN npm run build
FROM node:22-alpine