From a30611fbaf74444dd2409e46aad41c55cf731490 Mon Sep 17 00:00:00 2001 From: Fusion Date: Thu, 14 May 2026 06:55:12 +0200 Subject: [PATCH] =?UTF-8?q?feat(FN-002):=20complete=20Step=204=20=E2=80=94?= =?UTF-8?q?=20Docker=20Compose=20and=20Deployment=20Skeleton?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fusion-Task-Id: FN-002 Fusion-Task-Lineage: 49cb7077-d805-4d39-9a27-ae50744f2839 --- .env.example | 4 +++- apps/web/Dockerfile | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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