Skip to content

Commit

Permalink
dnf install pip
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Taylor <steve@deployhub.com>
  • Loading branch information
sbtaylor15 committed May 15, 2024
1 parent 3851bb9 commit 123556a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ FROM public.ecr.aws/amazonlinux/amazonlinux:2023.4.20240513.0@sha256:f4c096ddea7
WORKDIR /app
COPY . /app

RUN dnf install -y python3.11; \
curl -sL https://bootstrap.pypa.io/get-pip.py | python3.11 - ; \
python3.11 -m pip install --no-cache-dir -r requirements.in; \
dnf update -y; \
RUN dnf install -y python3.11 python3.11-pip; \
pip3.11 install --no-cache-dir -r requirements.in; \
dnf upgrade -y; \
dnf clean all

Expand Down

0 comments on commit 123556a

Please sign in to comment.