-
Notifications
You must be signed in to change notification settings - Fork 37
ADD step copies local node_modules to the container #23
Comments
This should be solvable with |
".dockerignore" is currently client-side, but that might change in a |
Yes, the dockerignore is currently not supported. So with it this will work correctly? The user still needs to add this file and include the node_modules folder. There is a chance that they will miss this. Or is it in the docs? Thanks for verifying! |
We need to update the docs with a recommend |
@Guuz just a note that the upcoming version of Managed VMs will comes with a more recent docker-py and hopefully support .dockerignore. |
@proppy thanks! Looking forward to that! :) |
It seems that the docs are missing the note about .dockerignore? |
Closing old issue, (should be reported on https://github.com/nodejs/docker-node if you still have issues). |
Hello,
As I have reported here:
GoogleCloudPlatform/nodejs-docker#22
and here:
dockerfile/nodejs-runtime#2
the local node_modules dir is copied over the correct one in the container. I'm thinking this might only be a problem when the .dockerignore file is not supported. This is the case on Google Managed VM's.
Could someone verifie it works as intended so we know it's only a problem for Managed VM's?
Thanks!
The text was updated successfully, but these errors were encountered: