You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Dev-Dockerfile with the RUN npm install command specified creates a node_modules folder which might be OS-specific (for example if node-sass gets installed). This folder gets overridden by the folder mount done by the vs-code-remote plugin. That causes consecutive steps (like npm run start) to fail.
By ignoring this folder from mounting the images node_modules folder gets preserved and everything works as expected.
Other tools might also create such folders (e.g. golang).
A user not familiar with docker wants to ignore specific files.
Proposed Feature
It would be great to ignore certain folders from being mounted to the container, by adding an option like this:
Reasons
A Dev-Dockerfile with the
RUN npm install
command specified creates anode_modules
folder which might be OS-specific (for example ifnode-sass
gets installed). This folder gets overridden by the folder mount done by the vs-code-remote plugin. That causes consecutive steps (likenpm run start
) to fail.Other tools might also create such folders (e.g. golang).
A user not familiar with docker wants to ignore specific files.
Current Workaround
(From #560 (comment))
The text was updated successfully, but these errors were encountered: