From e105d008ba043183a0b2e8c3496fb71a3da760e8 Mon Sep 17 00:00:00 2001 From: f Date: Mon, 5 Oct 2020 18:42:13 -0300 Subject: [PATCH] eliminar tests y otros archivos --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 789f3557..3e370142 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,7 +65,9 @@ RUN sed -re "/(sassc|uglifier|bootstrap|coffee-rails)/d" -i Gemfile RUN bundle clean RUN rm -rf ./node_modules ./tmp/cache ./.git ./test ./doc # 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 FROM sutty/monit:latest