Skip to content

Commit

Permalink
lambda-python - backport
Browse files Browse the repository at this point in the history
  • Loading branch information
Niranjan Jayakar committed Mar 22, 2021
1 parent a13d4af commit 883163c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-lambda-python/lib/bundling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function bundle(options: BundlingOptions): lambda.Code {
// copy Dockerfile to workdir
fs.copyFileSync(path.join(__dirname, dockerfile), path.join(stagedir, dockerfile));

const image = cdk.BundlingDockerImage.fromAsset(stagedir, {
const image = cdk.DockerImage.fromBuild(stagedir, {
buildArgs: {
IMAGE: runtime.bundlingDockerImage.image,
},
Expand Down

0 comments on commit 883163c

Please sign in to comment.