cleanup at end of dockerfile

This commit is contained in:
Jeffrey Paul 2019-08-06 18:53:41 +00:00
parent 2fa0db0e2b
commit c9fcc6fc98
1 changed files with 4 additions and 0 deletions

View File

@ -25,3 +25,7 @@ RUN pipenv install
RUN mkdir -p /etc/service/strpcd && \
mv /var/app/strpcd.run /etc/service/strpcd/run && \
chmod +x /etc/service/strpcd/run
RUN apt -y autoremove && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*