Skip to content
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

[chore] frontend: update Dockerfile to reduce final image size by 15% #2017

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

Conversation

macno
Copy link
Contributor

@macno macno commented Feb 10, 2025

Changes

Currently, all the dev dependencies are included in the final image.

Reworking the first two stages, we can reduce the final image by ~15%

╰─➤  docker images otel-demo-frontend
REPOSITORY           TAG       IMAGE ID       CREATED          SIZE
otel-demo-frontend   fix       0a53d5f0fdcc   14 minutes ago   707MB
otel-demo-frontend   orig      a863b800e2ab   19 minutes ago   823MB

Merge Requirements

For new features contributions, please make sure you have completed the following
essential items:

  • CHANGELOG.md updated to document new feature additions
  • Appropriate documentation updates in the docs
  • Appropriate Helm chart updates in the helm-charts

Maintainers will not merge until the above have been completed. If you're unsure
which docs need to be changed ping the
@open-telemetry/demo-approvers.

@macno macno requested a review from a team as a code owner February 10, 2025 13:26
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