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
Trying to build image from docker file but fails because process cannot access stuff in .vs folder etc.
Normally, when building image from commandline, the dockerignore file makes sure that all these files are excluded.
await new ImageFromDockerfileBuilder()
.WithDeleteIfExists(true)
.WithDockerfileDirectory(@"D:\tfs\OutboxPattern")
.WithName("Subsystem1.Api.Dockerfile")
.Build();
This is the structure of my project, so the dockerfile is in the root while the project that is references in the dockerfile is in a sub folder.
Any ideas to get this working?
Thanks a lot.
The text was updated successfully, but these errors were encountered:
The implementation of DockerfileArchive does not support .dockerignore yet. It adds all files in DockerfileDirectory to the temporary created Dockerfile.tar. Either you move your Dockerfile, to another directory which contains only Docker image related files or you contribute and implement the .dockerignore feature to DockerfileArchive - that would be really nice!
Trying to build image from docker file but fails because process cannot access stuff in .vs folder etc.
Normally, when building image from commandline, the dockerignore file makes sure that all these files are excluded.
This is the structure of my project, so the dockerfile is in the root while the project that is references in the dockerfile is in a sub folder.
Any ideas to get this working?
Thanks a lot.
The text was updated successfully, but these errors were encountered: