Skip to content

Feature/docker hub publishing#1241

Open
roshankumar0036singh wants to merge 5 commits into
CodeGraphContext:mainfrom
roshankumar0036singh:feature/docker-hub-publishing
Open

Feature/docker hub publishing#1241
roshankumar0036singh wants to merge 5 commits into
CodeGraphContext:mainfrom
roshankumar0036singh:feature/docker-hub-publishing

Conversation

@roshankumar0036singh

@roshankumar0036singh roshankumar0036singh commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

This PR reworks the Docker setup end to end — cleaner builds, better security, and broader platform support.
Changes

closes #391

3-stage Dockerfile: added a Node.js stage to build the frontend, Python builder stage, and a lean production image
Image now runs as non-root user (cgc, UID 1000)
Multi-arch builds: linux/amd64 and linux/arm64
Publishing to Docker Hub in addition to GHCR, with latest and edge tags
Added docker-entrypoint.sh with mode-based startup via CGC_MODE (cli, mcp, viz)
docker-compose.template.yml → docker-compose.yml, now pulls published image, added viz profile
Added docs/DOCKER.md covering setup, MCP config, volumes, and Kubernetes
CI updated with smoke test, Docker Hub description sync, and QEMU for cross-platform builds

Notes

npm ci in the web builder requires package-lock.json to be committed
cgc-data volume may need permission check on first run due to UID 1000

@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

@roshankumar0036singh is attempting to deploy a commit to the shashankss1205's projects Team on Vercel.

A member of the Team first needs to authorize it.

@roshankumar0036singh roshankumar0036singh marked this pull request as draft June 13, 2026 11:44
@roshankumar0036singh roshankumar0036singh marked this pull request as ready for review June 13, 2026 11:53
@roshankumar0036singh

Copy link
Copy Markdown
Contributor Author

@Shashankss1205 do review this when you are free

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog tasks

Development

Successfully merging this pull request may close these issues.

Create a docker container for the entire package+python

1 participant