From 63655b5e3653c09101102e8dcf66f7bf9090e0f5 Mon Sep 17 00:00:00 2001 From: Rhett Reisman Date: Sat, 27 Jul 2024 14:15:21 -0500 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 . .