From eac8660e2c0ca7a802ac9f9d72f07e6f2ac285b5 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Wed, 13 Sep 2023 23:17:39 +1000 Subject: [PATCH] when we build this container, do a dist-upgrade too, should always get latest updates to base ubuntu image --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 0476de1..e8a8e39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,7 @@ RUN truncate -s0 /tmp/preseed.cfg && \ ## cleanup of files from setup RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN apt-get update && apt-get -y install python3-pip python3-psycopg2 libpq-dev gunicorn python3-ldap +RUN apt-get update && apt-get -y upgrade COPY requirements.txt requirements.txt RUN pip3 install -r requirements.txt EXPOSE 443