Skip to content

Commit e2f46ba

Browse files
authored
Update pip-tools installation in Dockerfile
Pin pip<25 because pip 25.x removed 'use_pep517', which breaks pip-tools 7.5.1.
1 parent bbb0403 commit e2f46ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ RUN apt-get update && \
1414
# Copy only the requirements.in and .env.local files into the container
1515
COPY requirements.in /app/
1616

17-
# Install pip-tools
18-
RUN pip install --upgrade pip && \
19-
pip install pip-tools
17+
# Install pip-tools with compatible pip version
18+
RUN pip install --upgrade "pip<25" && \
19+
pip install "pip-tools==7.5.1"
2020

2121
# Compile requirements.in to requirements.txt and install pip requirements
2222
RUN pip-compile requirements.in && \

0 commit comments

Comments
 (0)