diff --git a/Dockerfile b/Dockerfile index 28dbaa4..2623ced 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -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 . && \