From 14146cf707abc0ca243806db374f38693dfb0ffa Mon Sep 17 00:00:00 2001 From: Rhett Reisman Date: Sat, 27 Jul 2024 14:19:25 -0500 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4b06267..abb8b2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,13 +7,15 @@ WORKDIR /var/task # 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 && \ + echo 'source $HOME/.cargo/env' >> $HOME/.bashrc && \ source $HOME/.cargo/env # Copy your application code and requirements.txt into the Docker image COPY . . # Install dependencies and create the layer -RUN pip install --upgrade pip setuptools wheel && \ +RUN source $HOME/.cargo/env && \ + pip install --upgrade pip setuptools wheel && \ pip install -r requirements.txt && \ pip install . && \ mkdir -p /tmp/python && \