So just using pip inside the container? Microsoft is looking to standardize development containers [1], a cleanroom environment where you live while you develop. That container can itself be used as a workbench for then packaging your application into a container of its own for deployment on K8s or what have you.
[1] https://code.visualstudio.com/docs/remote/containers