4 ms·
This. The author should use a multi-stage build where one stage is used for building the missing wheels. Those should then be copied over to the final stage.
by verst 7y ago
This.
The author should use a multi-stage build where one stage is used for building the missing wheels. Those should then be copied over to the final stage.
No need to install any build tools in the final Alpine (or Debian) image. The Alpine image will definitely be much smaller.