-
Notifications
You must be signed in to change notification settings - Fork 37
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
feat: reduce app
image size
#205
Conversation
This change slims down the app image, reducing the space requirements by about 400MB: build-essential (370MB) and poetry (30MB) don't get included.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @sinopeus! Mostly small comments, but one big one about the base image for the app
and ci
stages that we need to iron out first.
Co-authored-by: Laurent Sorber <[email protected]>
a21b0d2
to
ea06cbb
Compare
I tried installing the Poetry env as a non-root user, but I was relying on symlinking to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another review round, we're getting closer!
This PR slims down the app image size considerably, by at least 400MB + more depending on the size of the
.git
directory. Credits to @undo76 for the ideas!