Skip to content

Commit c844db6

Browse files
committed
fix: update Python version to 3.12 and upgrade pip in Dockerfiles
Signed-off-by: Mohamad Abuelhagag <[email protected]>
1 parent e8de255 commit c844db6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docker/app/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG PYTHON_VERSION=3.9
1+
ARG PYTHON_VERSION=3.12
22
FROM python:${PYTHON_VERSION} AS builder
33

44
# hadolint ignore=DL3008
@@ -8,6 +8,8 @@ RUN apt-get update \
88

99
WORKDIR /app
1010

11+
RUN pip install --upgrade pip
12+
1113
COPY requirements-dev.txt ./
1214
RUN pip install --no-cache-dir -r requirements-dev.txt \
1315
&& rm -rf /tmp/pip-ephem-wheel-cache*

docker/client/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ FROM python:${PYTHON_VERSION} AS builder
1616

1717
WORKDIR /app
1818

19+
RUN pip install --upgrade pip
20+
1921
COPY requirements-dev.txt ./
2022
RUN pip install --no-cache-dir -r requirements-dev.txt
2123

0 commit comments

Comments
 (0)