Description
Behavior by documentation and behavior of docker is not the same.
https://docs.docker.com/engine/reference/builder/#/dockerignore-file
Documentation says that /foo/bar and foo/bar at .dockerignore file are the same.
Expected behavior
Expected that /node_modules and node_modules will be the same too.
Actual behavior
In case node_modules in .dockerignore file, looks like, all stuff in that directory are ignored correctly.
In case /node_modules docker try to push node_modules into container and sometimes get error:
WindowsError: [Error 3] The system cannot find the path specified: 'E:\Project\node_modules\very-very-long-path\filename'
And additionally, looks like, docker cannot work with long names - possible it is issue too.
Description
Behavior by documentation and behavior of docker is not the same.
https://docs.docker.com/engine/reference/builder/#/dockerignore-file
Documentation says that /foo/bar and foo/bar at
.dockerignorefile are the same.Expected behavior
Expected that
/node_modulesandnode_moduleswill be the same too.Actual behavior
In case
node_modulesin.dockerignorefile, looks like, all stuff in that directory are ignored correctly.In case
/node_modulesdocker try to push node_modules into container and sometimes get error:WindowsError: [Error 3] The system cannot find the path specified: 'E:\Project\node_modules\very-very-long-path\filename'
And additionally, looks like, docker cannot work with long names - possible it is issue too.