You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Dockerfile.optimized
+23-15Lines changed: 23 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,20 @@
4
4
# checkov:skip=CKV_DOCKER_3: "The Dockerfile uses the official AWS Lambda Python base image (public.ecr.aws/lambda/python:3.12-arm64), which already configures the appropriate non-root user for Lambda execution"
5
5
# checkov:skip=CKV_DOCKER_2: "The Dockerfile.optimized is specifically designed for AWS Lambda container images, which don't use Docker HEALTHCHECK instructions."
6
6
7
+
# Use specific version to avoid network issues
8
+
FROM ghcr.io/astral-sh/uv:0.9.6 AS uv
7
9
10
+
# Builder stage - bundle dependencies into Lambda task root
8
11
FROM public.ecr.aws/lambda/python:3.12-arm64 AS builder
0 commit comments