Skip to content

Dockerize backend#58

Merged
Im-Madhur-Gupta merged 2 commits intomainfrom
jake/docker
Jan 14, 2026
Merged

Dockerize backend#58
Im-Madhur-Gupta merged 2 commits intomainfrom
jake/docker

Conversation

@0xflashboy
Copy link
Collaborator

No description provided.

@vercel
Copy link

vercel bot commented Jan 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
execution-events-example Ready Ready Preview, Comment Jan 13, 2026 10:47pm

…kend container to GHCR upon merging to `main`. (#59)

*   **Optimized Dockerfile**: Added `backend/Dockerfile_build_and_publish` using a multi-stage build.
*   **GitHub Action**: Added `.github/workflows/publish-backend.yml` to automatically build and push the container.
*   **Versioning**: Images are tagged with `latest` and `sha-<short_commit_hash>`.

*   **Size & Compatibility**: We use `rust:1.91-slim` (based on Debian Bookworm) for building and `debian:bookworm-slim` for the final runtime. This pairing ensures binary compatibility while stripping out the massive build toolchain (~1GB+) to leave a minimal, production-ready image.
*   **Separation of Concerns**: Kept the original `Dockerfile` for local development/debug builds, while the new `Dockerfile_build_and_publish` is strictly for deployment artifacts.

**Action Required After First Run:**
Since this repository is private, the new package will be created as **Private** by default. To make it publicly accessible:

1.  Wait for the first Action run to complete successfully.
2.  Go to the repository/organization's **Packages** page.
3.  Select the `execution-events-example` package.
4.  Go to **Package Settings** -> **Change visibility**.
5.  Change visibility from **Private** to **Public**.
@vercel
Copy link

vercel bot commented Jan 13, 2026

Deployment failed with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: execution-events-example.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

@Im-Madhur-Gupta Im-Madhur-Gupta merged commit 9758177 into main Jan 14, 2026
4 of 5 checks passed
@Im-Madhur-Gupta Im-Madhur-Gupta deleted the jake/docker branch January 14, 2026 07:09
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.

2 participants