We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0be7d92 commit f9ed66fCopy full SHA for f9ed66f
Dockerfile.optimized
@@ -10,6 +10,10 @@ FROM ghcr.io/astral-sh/uv:0.9.6 AS uv
10
# Builder stage - bundle dependencies into Lambda task root
11
FROM public.ecr.aws/lambda/python:3.12-arm64 AS builder
12
13
+# Install build dependencies for packages that need compilation (pymupdf, etc.)
14
+# These are only needed during the build stage and won't be in the final image
15
+RUN yum install -y gcc gcc-c++ make && yum clean all && rm -rf /var/cache/yum
16
+
17
# Enable bytecode compilation to improve cold-start performance
18
ENV UV_COMPILE_BYTECODE=1
19
0 commit comments