Remove npm cache because is (falsely) triggers Disney's vuln scanner

Also unneeded space-wise in the image
This commit is contained in:
Joseph Schorr 2017-02-01 14:16:12 -05:00
parent 14093d41ee
commit 154090ca00

View file

@ -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