Skip to content

fix(dev): mount PRIVACY.md into the dashboard container - #2158

Merged
alanpeixinho merged 1 commit into
kernelci:mainfrom
profusion:fix/dev/privacy-md-mount
Oct 7, 2026
Merged

alanpeixinho merged 1 commit into
kernelci:mainfrom
profusion:fix/dev/privacy-md-mount

Conversation

@alanpeixinho

Copy link
Copy Markdown
Contributor

What it is

The dev dashboard container never received PRIVACY.md. Vite loads that file from /PRIVACY.md for the privacy page, and the production image copies it in before the build. The dev image is built from dashboard/ only, and Compose was mounting src and public but not this file. dashboard_dev now bind-mounts the repo PRIVACY.md to /PRIVACY.md.

Closes #2142

How to test

Recreate the dev frontend with docker compose -f docker-compose.dev.yml up -d dashboard_dev. Open /privacy. The page should show the KernelCI Dashboard privacy policy, including the section on aggregate usage analytics. Without the mount, Vite fails to resolve @privacy-policy?raw.

Made with Cursor

Signed-off-by: Alan Peixinho <alan.peixinho@profusion.mobi>
@alanpeixinho
alanpeixinho added this pull request to the merge queue Oct 7, 2026
Merged via the queue into kernelci:main with commit e44124e Oct 7, 2026
7 checks passed
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.

[Local dev environment] PRIVACY.md missing in dashboard container

2 participants