Skip to content

Feat/dockerize UI#44

Merged
kavix merged 2 commits into
kavix:mainfrom
KRC00112:feat/dockerize-ui
Jun 16, 2026
Merged

Feat/dockerize UI#44
kavix merged 2 commits into
kavix:mainfrom
KRC00112:feat/dockerize-ui

Conversation

@KRC00112

@KRC00112 KRC00112 commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

The final image size is 93.89 MB, kept lean via a multi-stage build (Node for building, Nginx Alpine for serving). The container exposes port 80 internally, mapped to port 3000 on the host and so the ui is accessible at http://localhost:3000.

Build and run the image from the root directory by executing docker compose up --build.

After reviewing ui/app/page.tsx, the UI does not make any HTTP requests to the API. It communicates with the backend exclusively via Wails bindings, and automatically falls back to hardcoded mock data in ui/lib/data.ts when running outside of the Wails runtime. And therefore, this is why I think a mock API service in docker-compose.yml not needed.

closes #20

@kavix kavix merged commit 12275dd into kavix:main Jun 16, 2026
2 checks passed
@KRC00112 KRC00112 mentioned this pull request Jun 16, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task: Add Dockerfile for Eko UI

2 participants