Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rhettre committed Jul 27, 2024
1 parent 353fd7c commit 63655b5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .
Expand Down

0 comments on commit 63655b5

Please sign in to comment.