I have a simple node program app.js
I mounted app.js
file containing folder to a docker container.
When i do fig up
it works.
But when i change contents of app.js
and do fig stop
and fig up
again the changes are not loaded.
How can i make sure fig reloads / rebuilds image every time i bring it up ?
I tried various combination but no luck.
how to fix this?
You need to call "fig build" to rebuild the container. I think it is easier to mount a directory on the host-system (via ADD in the dockerfile), you don't have to rebuild the container everytime then.