Fix Docker build: use pnpm workspaces and route frontend API calls through backend proxy

This commit is contained in:
Chris Scott committed 2025-11-25 14:17:17 -05:00
1 parent c44b5c22d1
commit 349c130311
38 files changed
+5251 -1689

No files matched your search

@@ -1,7 +1,7 @@
import { spawn, execSync } from 'child_process'
import path from 'path'
import { logger } from '../utils/logger'
import { getWorkspacePath, getOpenCodeConfigFilePath, ENV } from '../config'
import { getWorkspacePath, getOpenCodeConfigFilePath, ENV } from '@opencode-webui/shared'
const OPENCODE_SERVER_PORT = ENV.OPENCODE.PORT
const OPENCODE_SERVER_DIRECTORY = getWorkspacePath()