eliminar tests y otros archivos
This commit is contained in:
parent
f345d7f4ac
commit
e105d008ba
1 changed files with 3 additions and 1 deletions
|
@ -65,7 +65,9 @@ RUN sed -re "/(sassc|uglifier|bootstrap|coffee-rails)/d" -i Gemfile
|
||||||
RUN bundle clean
|
RUN bundle clean
|
||||||
RUN rm -rf ./node_modules ./tmp/cache ./.git ./test ./doc
|
RUN rm -rf ./node_modules ./tmp/cache ./.git ./test ./doc
|
||||||
# Eliminar archivos innecesarios
|
# Eliminar archivos innecesarios
|
||||||
RUN find /srv/http/vendor/ruby/2.7.0/ -maxdepth 3 -type d -name test -o -name spec -o name rubocop | xargs -r rm -rf
|
USER root
|
||||||
|
RUN apk add --no-cache findutils
|
||||||
|
RUN find /home/app/checkout/vendor/ruby/2.7.0 -maxdepth 3 -type d -name test -o -name spec -o -name rubocop | xargs -r rm -rf
|
||||||
|
|
||||||
# Contenedor final
|
# Contenedor final
|
||||||
FROM sutty/monit:latest
|
FROM sutty/monit:latest
|
||||||
|
|
Loading…
Reference in a new issue