From 6066a2019ec40b0c8d91dc9b12f7774e7a7edcf1 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Thu, 18 May 2023 08:02:52 -0700 Subject: [PATCH] Try with verbose pip --- Dockerfile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index e1b50a2b..960daa71 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,13 @@ FROM python:3.8 as build ADD app/requirements.txt /requirements.txt -RUN pip install setuptools-scm-git-archive -RUN pip install --default-timeout=100 --no-cache-dir -q -r requirements.txt +RUN pip install --verbose --no-cache-dir -r requirements.txt FROM python:3.8-slim -RUN apt-get update -RUN apt-get install -y --no-install-recommends imagemagick -RUN apt-get autoremove -y -RUN apt-get purge -y --auto-remove -RUN rm -rf /var/lib/apt/lists/* /root +RUN apt-get update && \ + apt-get install -y --no-install-recommends imagemagick &&\ + apt-get autoremove -y && \ + apt-get purge -y --auto-remove && \ + rm -rf /var/lib/apt/lists/* /root COPY --from=0 /usr/local/lib/python3.8/site-packages /usr/local/lib/python3.8/site-packages ADD app /app CMD python /app/bot.py