.dockerignore file not handled in the same way as for docker build
Closed this issue · 0 comments
peter-svensson commented
Using the following project:
$ cat Dockerfile
FROM scratch
$ cat .dockerignore
/Dockerfile
Running docker build .
works as expected, but running build
gives:
file 'Dockerfile' not found in archive