5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 06:56:22 +00:00

eliminar tests del contenedor

This commit is contained in:
f 2020-10-05 15:20:03 -03:00
parent 4a88ac9c08
commit 97babe8fcc

View file

@ -63,7 +63,9 @@ COPY --chown=app:www-data ./public/packs-production ./public/packs
# assets ya están pre-compilados. # assets ya están pre-compilados.
RUN sed -re "/(sassc|uglifier|bootstrap|coffee-rails)/d" -i Gemfile 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 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
# Contenedor final # Contenedor final
FROM sutty/monit:latest FROM sutty/monit:latest