when we build this container, do a dist-upgrade too, should always get latest updates to base ubuntu image
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user