3 ms·
You were downvoted, but as a user, I’ve experienced the same inconsistency with deploys. There’s also a hard container size limit I’ve run into multiple times.
by burningion 2y ago
You were downvoted, but as a user, I’ve experienced the same inconsistency with deploys.
There’s also a hard container size limit I’ve run into multiple times. If you add a dependency and go over the size limit, your app won’t deploy unless you switch to a GPU instance, which is substantially more expensive.
- soulofmischief 2y agoOne thing you can do to minimize container size is have multi-stage builds in your Dockerfile so that you are not affected by cache bloat.
- tptacek 2y agoDon't switch to GPU instances just to get around the container size limit! What are you trying to do and what's the size of your container? My instinctive response here is that you're not holding it the way we expect you to: that some of what you're sticking in your container, we'd expect you to keep in a volume.