From 1ed12622ab1c1fe8918a4ad200f7889bd37a80b8 Mon Sep 17 00:00:00 2001 From: Richard Kenneth <79406473+richarddkenneth@users.noreply.github.com> Date: Wed, 19 Aug 2026 10:07:01 +0100 Subject: [PATCH] fix(dashboard): fix build error for analytics traffic chart (#931) * convert areachart to working barchart in trend-chart.svelte and fixed empty data issue on browser reload stats/ pages * fix: remove `patches` copy script from dockerfiles as patches no longer exist, to allow build --------- Co-authored-by: richarddkenneth Co-authored-by: Rotimi Best --- docker/Dockerfile.api | 2 -- docker/Dockerfile.dashboard | 2 -- docker/Dockerfile.jobs | 2 -- 3 files changed, 6 deletions(-) diff --git a/docker/Dockerfile.api b/docker/Dockerfile.api index 69651c70..0970cd37 100644 --- a/docker/Dockerfile.api +++ b/docker/Dockerfile.api @@ -12,8 +12,6 @@ RUN corepack enable && corepack prepare pnpm@10.19.0 --activate # Fetch deps from the lockfile first (cached unless pnpm-lock.yaml changes); the # store is baked into this layer and reused by the offline install below. COPY pnpm-lock.yaml ./ -# Patches referenced by package.json#pnpm.patchedDependencies must be present for `pnpm fetch`. -COPY patches ./patches RUN pnpm fetch --store-dir /pnpm/store COPY . . diff --git a/docker/Dockerfile.dashboard b/docker/Dockerfile.dashboard index 5c2aa532..343bb571 100644 --- a/docker/Dockerfile.dashboard +++ b/docker/Dockerfile.dashboard @@ -13,8 +13,6 @@ RUN corepack enable && corepack prepare pnpm@10.19.0 --activate # Fetch deps from the lockfile first (cached unless pnpm-lock.yaml changes); the # store is baked into this layer and reused by the offline install below. COPY pnpm-lock.yaml ./ -# Patches referenced by package.json#pnpm.patchedDependencies must be present for `pnpm fetch`. -COPY patches ./patches RUN pnpm fetch --store-dir /pnpm/store COPY . . diff --git a/docker/Dockerfile.jobs b/docker/Dockerfile.jobs index 673113be..0962b9ec 100644 --- a/docker/Dockerfile.jobs +++ b/docker/Dockerfile.jobs @@ -19,8 +19,6 @@ RUN corepack enable && corepack prepare pnpm@10.19.0 --activate # fetch` populates the store for the whole lockfile, so no hand-maintained package # list. Mirrors the api/dashboard images. COPY pnpm-lock.yaml ./ -# Patches referenced by package.json#pnpm.patchedDependencies must be present for `pnpm fetch`. -COPY patches ./patches RUN pnpm fetch --store-dir /pnpm/store COPY . .