Skip to content

Commit

Permalink
Merge pull request #79 from rhettre/feature/release-workflow
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
rhettre committed Jul 27, 2024
2 parents caea0d0 + 14146cf commit 05cd074
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 05cd074

Please sign in to comment.