DEV: remove bundle cache (#852)
On the current image this removes ~78MB from the layer Uncompressed image sizes: before: 3.3GB after: 3.23GB
This commit is contained in:
parent
cfe8aa0df0
commit
44134a21bb
|
@ -12,4 +12,5 @@ RUN cd /var/www/discourse &&\
|
|||
sudo -u discourse bundle install --jobs $(($(nproc) - 1)) &&\
|
||||
sudo -u discourse yarn install --frozen-lockfile &&\
|
||||
sudo -u discourse yarn cache clean &&\
|
||||
find /var/www/discourse/vendor/bundle -name cache -not -path '*/gems/*' -type d -exec rm -rf {} + &&\
|
||||
find /var/www/discourse/vendor/bundle -name tmp -type d -exec rm -rf {} +
|
||||
|
|
Loading…
Reference in New Issue