3 ms·
My standard trick here is to mount your code directory into the container. Pretty easy with k8s using `hostPath`. You can still build the container with the p
by oofbey 4y ago
My standard trick here is to mount your code directory into the container. Pretty easy with k8s using `hostPath`. You can still build the container with the production-worthy process, but whatever directory your code ends up in gets overridden with the live directory you're editing from the host machine. Then if you're using an application server that can run in a dev mode and notice when file changes, changes show up instantly just as if you're not using containers at all.