Docker config refactor#104
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_URLatyarn buildto deal with for publishing the images.