Skip to content

Commit 169119e

Browse files
committed
upgrade pip
1 parent 757524f commit 169119e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ RUN install_packages \
4646

4747
ENV READTHEDOCS=True
4848
ADD requirements.txt /tmp/.
49-
RUN pip install --no-cache-dir -r /tmp/requirements.txt
49+
RUN pip install --upgrade pip && \
50+
pip install --no-cache-dir -r /tmp/requirements.txt
5051

5152
RUN mkdir -p /coderbot && \
5253
mkdir -p /coderbot/data && \

docker/stub/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ RUN apt-get update -y && apt-get install -y \
3939
tesseract-ocr-deu
4040

4141
ADD docker/stub/requirements.txt /tmp/.
42-
RUN pip install --no-cache-dir -r /tmp/requirements.txt
42+
RUN pip install --upgrade pip && \
43+
pip install --no-cache-dir -r /tmp/requirements.txt
4344

4445
RUN mkdir -p /coderbot && \
4546
mkdir -p /coderbot/data && \

0 commit comments

Comments
 (0)