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

View file

@ -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