DEV Community

loading...

Discussion on: Dockerize your Development Environment for NodeJS

Collapse
klamserdev profile image
Jakob Klamser Author

Actually no, in this example your volume is connected to the container. So every time you change something, for example, in server.js it automatically updates your "localhost".
I recommend trying out this setup ;)

Collapse
timo_ernst profile image
Timo Ernst

Oh, I didn’t notice that! That‘s a great way to solve this problem. Thanks, great post! :-)