How to specify different .dockerignore file for Visual Studio Code's Dev Container?

158 views Asked by At

Is it possible to specify a different .dockerignore file for Dev Container in VSCode? I checked the documentation and couldn't find anything relevant.

The use case I'm looking for is ignoring .git directory in regular .dockerignore and not ignoring it in VSCode so that git extensions work while in Dev Container.

0

There are 0 answers