when we build this container, do a dist-upgrade too, should always get latest updates to base ubuntu image

This commit is contained in:
2023-09-13 23:17:39 +10:00
parent 4e8bda4134
commit eac8660e2c

View File

@@ -16,6 +16,7 @@ RUN truncate -s0 /tmp/preseed.cfg && \
## cleanup of files from setup ## cleanup of files from setup
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 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 install python3-pip python3-psycopg2 libpq-dev gunicorn python3-ldap
RUN apt-get update && apt-get -y upgrade
COPY requirements.txt requirements.txt COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt RUN pip3 install -r requirements.txt
EXPOSE 443 EXPOSE 443