From 94ca36f47001ad535c77b5f1468de372a7a9a253 Mon Sep 17 00:00:00 2001 From: rene Date: Mon, 18 May 2026 18:52:13 +0200 Subject: [PATCH] Fix: VITE_PB_URL als Docker build-arg (api.vereins.haus) --- app/Dockerfile | 2 ++ docker-compose.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/Dockerfile b/app/Dockerfile index 7831668..ed16918 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index bff1658..47d3cd2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,6 +20,8 @@ services: build: context: ./app dockerfile: Dockerfile + args: + VITE_PB_URL: https://api.vereins.haus image: vereinshaus-app container_name: vereinshaus-app restart: unless-stopped