GoogleContainerTools / GoogleContainerTools/skaffold
Is there a way to ignore `.dockerignore` for sync?
Open
area/sync
kind/feature-request
priority/p2
- Dominant language
- Go
- Stars
- 15.9k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 10
Description
### Question
We have a repository for our frontend.
Frontend is legacy and is being built by `gulp`.
We have our `dist` directory in `.dockerignore` file in order for it to not being copied during build of the image.
But i want to be able to run `npm run dev` locally (which rebuilds static files in `dist` directory when code is changed) and have changes in `dist` directory propagated to my container.
I want to use Skaffold sync rules for that.
But as long as this directory is in `.dockerignore`, it does not get synchronized.
Is there any way to ignore `.dockerignore` rules during sync phase?
Contributor guide
Assessment
This issue has not been assessed yet.