From 2cc623f7c5e9de4f717c6223eb573dc5fd2fdc7a Mon Sep 17 00:00:00 2001 From: Sid <37372349+sidbose87@users.noreply.github.com> Date: Wed, 10 Apr 2024 14:25:37 +1000 Subject: [PATCH] Update Dockerfile for debugging --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5c449c9a2..f8822e7ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,10 @@ WORKDIR /app # dependencies for psycopg2 -RUN apt-get update && apt-get install --no-install-recommends -y dnsutils=1:9.11.5.P4+dfsg-5.1+deb10u7 libpq-dev=11.16-0+deb10u1 python3-dev=3.7.3-1 \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* +RUN apt-get update && \ + apt-get install --no-install-recommends -y dnsutils=1:9.11.5.P4+dfsg-5.1+deb10u7 libpq-dev=11.16-0+deb10u1 python3-dev=3.7.3-1 && \ + apt-get clean &&\ + rm -rf /var/lib/apt/lists/* || echo "Failed to install packages" # Set environment variables