How to install a node module in Dockerfile without package.json?
I want to create a Docker image container that just runs a simple javascript file that just requires one module (aws-sdk
). How can I install just this one module? Can I do it without copying a package.json
file into the docker container?