root: fix apt autoremove call

This commit is contained in:
Jens Langhammer 2020-09-27 21:07:29 +02:00
parent 6ad1465f8f
commit 737cd22bb9
1 changed files with 3 additions and 3 deletions

View File

@ -17,10 +17,10 @@ COPY --from=locker /app/requirements-dev.txt /
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --no-install-recommends postgresql-client-11 build-essential && \ apt-get install -y --no-install-recommends postgresql-client-11 build-essential && \
rm -rf /var/lib/apt/ && \ apt-get clean && \
pip install -r /requirements.txt --no-cache-dir && \ pip install -r /requirements.txt --no-cache-dir && \
apt-get remove --purge -y build-essential && \ apt-get remove --purge -y build-essential && \
apt-get autoremove --purge && \ apt-get autoremove --purge -y && \
adduser --system --no-create-home --uid 1000 --group --home /passbook passbook adduser --system --no-create-home --uid 1000 --group --home /passbook passbook
COPY ./passbook/ /passbook COPY ./passbook/ /passbook