Skip to content

Commit fcbd397

Browse files
committed
✨ [#50] ensured that setuptools is version 70 or higher in Dockerfile
1 parent 4e0a33b commit fcbd397

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Dockerfile

+1-4
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
# includes compilers and build tooling to create the environment
88
FROM python:3.11-slim-bookworm AS backend-build
99

10-
# Ensure we use the latest version of pip
11-
RUN pip install pip "setuptools>70" -U
12-
1310
RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends \
1411
pkg-config \
1512
build-essential \
@@ -23,7 +20,7 @@ WORKDIR /app
2320
RUN mkdir /app/src
2421

2522
# Ensure we use the latest version of pip
26-
RUN pip install pip setuptools -U
23+
RUN pip install pip "setuptools>=70.0.0" -U
2724
COPY ./requirements /app/requirements
2825
RUN pip install -r requirements/production.txt
2926

0 commit comments

Comments
 (0)