Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

fix(docker): copy scripts and plugins for vite connection types sync

t8y263c19a9230d7
diff --git a/deploy/Dockerfile b/deploy/Dockerfile
index 187b9f643b..3125d3e0f0 100644
--- a/deploy/Dockerfile
+++ b/deploy/Dockerfile
@@ -10,6 +10,11 @@ COPY packages/mongo-shell/ packages/mongo-shell/
RUN --mount=type=cache,target=/root/.local/share/pnpm/store \
pnpm install --frozen-lockfile
COPY apps/desktop/ apps/desktop/
+# The vite connection-types plugin runs scripts/sync-connection-types.mjs during
+# `pnpm build`, which reads plugins/connection-types + plugins/dialects and
+# regenerates the manifest and generated TS types in place.
+COPY scripts/ scripts/
+COPY plugins/ plugins/
COPY crates/dbx-core/assets/database-drivers.manifest.json crates/dbx-core/assets/database-drivers.manifest.json
RUN pnpm build