# v0.4.36 (2026-05-13)
## Features - Add MiniMax TTS provider support (#1043) - Docker images now published on both GHCR & Docker Hub (decolua/9router) — pull from your preferred registry ## Improvements - Replace browser confirm dialogs with custom ConfirmModal (#1060) ## Fixes - Fix Docker `Cannot find module 'next'` error in standalone build - Restore /app/server.js in Docker standalone build (#1064, #1067) - Fix CLI TUI menu arrow-key escape sequences leaking (^[[A^[[B) - Switch macOS/Linux tray to systray2 fork (fixes Kaspersky AV false-positive) (#1080) - Fix zoom controls contrast in topology view (#1066)
This commit is contained in:
parent
692d1fdf57
commit
7ccf8c5e84
14 changed files with 616 additions and 314 deletions
28
scripts/dockerBuild.js
Normal file
28
scripts/dockerBuild.js
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
// Build Docker image locally for current platform (test/dev).
|
||||
// Usage: node app/scripts/dockerBuild.js
|
||||
|
||||
const { execSync } = require("child_process");
|
||||
const path = require("path");
|
||||
const fs = require("fs");
|
||||
|
||||
const IMAGE = "decolua/9router";
|
||||
const appDir = path.resolve(__dirname, "..");
|
||||
const cliPkgPath = path.resolve(appDir, "cli", "package.json");
|
||||
const version = JSON.parse(fs.readFileSync(cliPkgPath, "utf8")).version;
|
||||
const tag = `v${version}`;
|
||||
|
||||
console.log(`\n🐳 Building ${IMAGE}:${tag} (local platform)...\n`);
|
||||
|
||||
try {
|
||||
execSync(
|
||||
`docker build -t ${IMAGE}:${tag} -t ${IMAGE}:latest .`,
|
||||
{ stdio: "inherit", cwd: appDir }
|
||||
);
|
||||
console.log(`\n✅ Built ${IMAGE}:${tag} + ${IMAGE}:latest`);
|
||||
console.log(`▶️ Run: docker run --rm -p 20128:20128 -v "$HOME/.9router:/app/data" -e DATA_DIR=/app/data ${IMAGE}:${tag}`);
|
||||
} catch (e) {
|
||||
console.error("❌ Docker build failed");
|
||||
process.exit(1);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue