diff --git a/Dockerfile b/Dockerfile index 5f95395..4b06267 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,10 @@ FROM public.ecr.aws/lambda/python:3.9 # Set up the work directory WORKDIR /var/task -# Install necessary build tools -RUN yum install -y zip gcc python3-devel libffi-devel +# Install necessary build tools and Rust +RUN yum install -y zip gcc python3-devel libffi-devel && \ + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \ + source $HOME/.cargo/env # Copy your application code and requirements.txt into the Docker image COPY . .