I am able to copy files to docker container by archiving the files.
var dockerode = require(\'dockerode\'); var docker = new dockerode();