Refresh docker context

I made a change to a .dockerignore file, which caused a build to fail when it couldn’t find a file it needed. I undid that change, but the build still fails unable to find the file. It seems that there is some caching of the docker context or a lag in using a new .dockerignore, since the original failure also occurred after passing a couple times. Is there anything I can do to make sure the latest .dockerignore is being used in my build?

I resolved this issue. It was not related to the docker context.