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 <richard-kenneth@users.noreply.github.com> Co-authored-by: Rotimi Best <best@classroomio.com>
This commit is contained in:
co-authored by
richarddkenneth
Rotimi Best
parent
ce663fe365
commit
1ed12622ab
@@ -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 . .
|
||||
|
||||
@@ -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 . .
|
||||
|
||||
@@ -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 . .
|
||||
|
||||
Reference in New Issue
Block a user