Skip to content

Conversation

archessmn
Copy link
Member

What

Overcomplicate the build process and minify what packages end up getting built into the final image.

Why

Image sizes basically doubled after the custom server was added, this mostly reverts that.

How

Some magic with yarn workspaces and vercel's ncc

Testing

It runs, if it didn;t work then it wouldn't

@jenkins-ystv
Copy link

jenkins-ystv bot commented Jul 24, 2025

Deployed a preview of this PR to https://pr-202-internal.dev.ystv.co.uk

@archessmn archessmn changed the title Make docker images smaller Build system overhaul Jul 24, 2025
@archessmn archessmn merged commit bc8a63e into main Jul 24, 2025
4 checks passed
@archessmn archessmn deleted the mia/smaller-images branch July 24, 2025 17: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