Background I have a node app that essentially needs to use aws-sdk to access S3 bucket and perform other operations. In my local machine I have a .aws config file that sits in ~/.aws/config. I want to run this node app in a docker container (so that I can deploy it to EC2 later).
The problem How do I configure my docker container to use the aws config file so that the node app running in it can use aws-sdk?
Clarification I do not want to use IAM. I specifically want to use aws config file which has the secret access key etc.