log flooding fix

This commit is contained in:
stam 2020-01-17 11:07:22 +03:00
parent 361a867f08
commit 66f445d432
2 changed files with 9 additions and 9 deletions

View File

@ -183,11 +183,11 @@ RUN apt-get update && \
apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /tmp/deb/* && \
rm -rfv /builds/* && \
rm -rfv /valve/*
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/apt/archives/*.deb && \
rm -rf /tmp/deb/* && \
rm -rf /builds/* && \
rm -rf /valve/*
#Final config
VOLUME ["/var/cache/nginx"]

View File

@ -37,10 +37,10 @@ RUN apt-get update && \
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /builds/* && \
rm -rfv /valve/*
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/apt/archives/*.deb && \
rm -rf /builds/* && \
rm -rf /valve/*
VOLUME ${QBT_DIR}