From aed799dd3a44ee1e2aa5a0048eac899b74b8e9e4 Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Fri, 12 Jun 2026 12:56:27 +0800 Subject: [PATCH] fix(docker): include driver manifest in frontend build --- deploy/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/Dockerfile b/deploy/Dockerfile index edf951859..bf14792dc 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -1,13 +1,14 @@ # syntax=docker/dockerfile:1 # Stage 1: Build frontend (native, no emulation) -FROM --platform=$BUILDPLATFORM node:20-slim AS frontend +FROM --platform=$BUILDPLATFORM node:22-slim AS frontend WORKDIR /app RUN npm i -g pnpm COPY package.json pnpm-lock.yaml ./ RUN --mount=type=cache,target=/root/.local/share/pnpm/store \ pnpm install --frozen-lockfile COPY apps/desktop/ apps/desktop/ +COPY crates/dbx-core/assets/database-drivers.manifest.json crates/dbx-core/assets/database-drivers.manifest.json RUN pnpm build # Stage 2: Cross-compile Rust backend for the requested platform (native, no emulation)