Skip to content

Commit

Permalink
Merge pull request #62 from rhettre/feature/release-workflow
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
rhettre authored Jul 27, 2024
2 parents a2d27ff + 503edfe commit c365969
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Use the Amazon Linux 2023 image compatible with AWS Lambda
FROM amazonlinux:2023

# Install Python 3.9, pip, and other necessary tools
RUN dnf install -y python3.9 python3.9-pip zip python3.9-venv && \
# Install Python 3, pip, and other necessary tools
RUN dnf install -y python3 python3-pip zip && \
dnf clean all

# Set up the work directory
Expand All @@ -12,7 +12,7 @@ WORKDIR /root
COPY . .

# Create and activate a virtual environment, then install dependencies
RUN python3.9 -m venv /root/venv && \
RUN python3 -m venv /root/venv && \
. /root/venv/bin/activate && \
pip install --upgrade pip && \
pip install . && \
Expand Down

0 comments on commit c365969

Please sign in to comment.