Fix: VITE_PB_URL als Docker build-arg (api.vereins.haus)
This commit is contained in:
parent
773046c80d
commit
94ca36f470
2 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue