Remove npm cache because is (falsely) triggers Disney's vuln scanner
Also unneeded space-wise in the image
This commit is contained in:
parent
14093d41ee
commit
154090ca00
1 changed files with 1 additions and 0 deletions
|
@ -121,6 +121,7 @@ RUN optipng -clobber -quiet static/img/**/*.png
|
|||
RUN apt-get remove -y --auto-remove python-dev g++ libjpeg62-dev libevent-dev libldap2-dev libsasl2-dev libpq-dev libffi-dev libgpgme11-dev nodejs npm jpegoptim optipng
|
||||
RUN apt-get autoremove -y
|
||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
RUN rm -rf .npm
|
||||
RUN rm -rf grunt
|
||||
RUN rm -rf node_modules
|
||||
|
||||
|
|
Reference in a new issue