Skip to content

Commit d59de5a

Browse files
committed
Fix for pip in Dockerfile
1 parent 3ffa292 commit d59de5a

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
@@ -34,8 +34,8 @@ COPY --chown=builder:builder src/ src/
3434
COPY --chown=builder:builder tests/ tests/
3535

3636
# Install Python dependencies and build the package
37-
RUN python3 -m pip install --user --upgrade 'pip>=25.3' setuptools wheel build
38-
RUN python3 -m pip install --user numpy pandas matplotlib scikit-learn scipy
37+
RUN python3 -m pip install --upgrade pip setuptools wheel build
38+
RUN python3 -m pip install numpy pandas matplotlib scikit-learn scipy
3939
ENV SETUPTOOLS_SCM_PRETEND_VERSION_FOR_TALKPIPE=0.1.0
4040
RUN python3 -m pip install --user -e .[dev,all]
4141
RUN python3 -m pytest --log-cli-level=DEBUG
@@ -67,7 +67,7 @@ RUN mkdir -p /app/data && \
6767
COPY --from=builder --chown=app:app /build/dist/*.whl /tmp/
6868

6969
# Install runtime Python dependencies and the application
70-
RUN python3 -m pip install --no-cache-dir --upgrade 'pip>=25.3' && \
70+
RUN python3 -m pip install --no-cache-dir --upgrade pip && \
7171
python3 -m pip install --no-cache-dir \
7272
numpy pandas matplotlib scikit-learn scipy && \
7373
python3 -m pip install --no-cache-dir /tmp/*.whl && \

0 commit comments

Comments
 (0)