From 72d6f89428ee1a34466be62119eced839cdc31de Mon Sep 17 00:00:00 2001 From: f Date: Fri, 30 Oct 2020 19:49:23 -0300 Subject: [PATCH] ignorar todo lo que no se use en docker --- .dockerignore | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/.dockerignore b/.dockerignore index 67ab2da..d18c8e0 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,20 +1,10 @@ -Dockerfile -node_modules -tmp -log -docs -bin -db -lib -test -tmp -vendor -config.ru -LICENSE -Makefile -monit.conf -README.md -TODO* -_deploy -_sites -_storage +# Excluir todo +* +# Solo agregar lo que usamos en COPY +!./.git/ +!./rubygems-platform-musl.patch +!./Gemfile +!./Gemfile.lock +!./config/credentials.yml.enc +!./public/assets-production/ +!./public/packs-production/