diff --git a/.env.example b/.env.example index b8755dd..e43a094 100644 --- a/.env.example +++ b/.env.example @@ -11,7 +11,9 @@ WEB_URL=http://localhost:5173 POSTGRES_USER=postgres POSTGRES_PASSWORD=postgres POSTGRES_DB=headquarter -DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:5432/${POSTGRES_DB} +# DATABASE_URL uses a literal value because Pydantic Settings does not expand +# shell-style variable interpolation from .env files. +DATABASE_URL=postgresql://postgres:postgres@localhost:5432/headquarter # Authentik OIDC placeholders (wire in FN-004) AUTHENTIK_ISSUER_URL=https://auth.example.com/application/o/headquarter/ diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile index f986d06..6246aa2 100644 --- a/apps/web/Dockerfile +++ b/apps/web/Dockerfile @@ -2,7 +2,9 @@ FROM node:22-alpine AS builder WORKDIR /app COPY package.json ./ -RUN npm install -g pnpm@11.1.1 && pnpm install +RUN npm install -g pnpm@11.1.1 \ + && pnpm install --ignore-scripts \ + && pnpm rebuild esbuild COPY . . RUN pnpm build