-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Docker config refactor #104
base: main
Are you sure you want to change the base?
Conversation
@reeseovine sorry for the ping again... would you mind checking this is what we expect when you have the chance? I want to be sure we're not shipping unnecessarily large docker images or anything. |
That's odd, I wonder why the images are so much bigger. I think it might have to do with unnecessary files being carried over between stages, like package cache maybe. Edit: Ok yeah I think it's leaving in the npm dev dependencies after they're needed. |
oh dang, you measured the differences between master and this pr? i looked and the final images were exactly the same size. |
ya you are correct. im not sure what i overlooked when comparing earlier. thanks for the catch @reeseovine 🙏 ill fix it this evening. |
@kinghat |
i fiddled with that and couldnt get it to reduce the size. it is better than the last stage, the image to be published, is separate from the deps and build stages anyways. sorry again 🤦♂️ |
Oh do you mean it's the same size as before you started this PR? Personally I think they're both fine as they are in terms of size, which should answer Max's original question for me 😁 |
ya its the same size as before i pushed, but also, i double checked the size before i pushed and i must have looked at the wrong thing because they were not, as you found out. |
more cleanup of the docker situation. afaict the only thing left is the
API_URL
atyarn build
to deal with for publishing the images.