Fix console Docker build: resolve @elydora/shared path alias

The console imports types from @elydora/shared which maps to
../server/src/shared via tsconfig paths. Changed Docker build
context to repo root so server shared types are accessible
during the Next.js build.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 4.6 committed 2026-03-02 14:00:16 -05:00
1 parent f3c04312fd
commit 31f068655f
3 files changed
+22 -4

No files matched your search

+2 -2
View File
@@ -278,8 +278,8 @@ services:
# ============================================================
console:
build:
context: ./packages/console
dockerfile: Dockerfile
context: .
dockerfile: packages/console/Dockerfile
args:
NEXT_PUBLIC_API_BASE_URL: ${NEXT_PUBLIC_API_BASE_URL:-http://localhost:8787}
restart: unless-stopped