Skip to content

feat: use esbuild for building the api in docker #876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

knudtty
Copy link
Contributor

@knudtty knudtty commented May 29, 2025

Takes almost 800mb off of the all-in-one image

Ref HDX-1803

Copy link

changeset-bot bot commented May 29, 2025

🦋 Changeset detected

Latest commit: 615958f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@hyperdx/api Patch
@hyperdx/app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented May 29, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hyperdx-v2-oss-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 29, 2025 3:12pm

@knudtty knudtty force-pushed the aaron/docker-reduce-size branch from 72e43c9 to 615958f Compare May 29, 2025 15:11
@knudtty knudtty marked this pull request as draft May 29, 2025 15:32
@knudtty
Copy link
Contributor Author

knudtty commented May 29, 2025

This constitutes a departure to our current build process, so this will remain a draft until we feel more confident about introducing. But as a teaser, here's the before/after size difference
image

@knudtty knudtty changed the base branch from v2 to main May 30, 2025 13:55
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.

1 participant