I'm moving most of my development processes into docker to ensure a parallel development environment between computers so there are no odd bugs or issues due to version mis-match, etc.
All of this is going great, except that when running webpack-dev-server inside of docker, the build process is substantially slower than when I run it just locally on my computer. (Like 3-5 minutes in docker vs 30 seconds to 1 min locally). Is there any way to speed this up? Is it just an issue with docker/webpack interacting with a lot of files on my hard drive through a mounted volume?
If it matters, my host system is a Mac running High Sierra on an i7 with 16bg of ram.
I'm running docker for mac, docker -v returns: Docker version 17.12.0-ce, build c97c6d6
I hope all of this is clear enough, let me know if I can add any information!