Rob N
05/03/2022, 2:58 PM.dockerignore should be placed to be picked up by the SST/CDK build of a docker lambda function?Arpad
05/03/2022, 3:49 PMprocess.cwd() when running sst build and see what you get and try putting the file thereFrank
new lambda.DockerImageFunction(this, 'AssetFunction', {
code: lambda.DockerImageCode.fromImageAsset(path.join(__dirname, 'docker-handler')),
});Frank
docker-handler folder in this case?Rob N
05/04/2022, 6:20 PMRob N
05/04/2022, 6:21 PMexclude option to work
code: lambda.DockerImageCode.fromImageAsset("../", { file :"xxx/Dockerfile", exclude: ["cdk*", "xxx/.sst", "xxx/.build"]}),