From c8446effc46bb0099ab1eb57c9af035ee65bf83a Mon Sep 17 00:00:00 2001 From: Axel Pontetto Wasik Date: Thu, 5 Dec 2024 16:20:54 -0300 Subject: [PATCH] Update dockerignore --- .dockerignore | 2 ++ .github/workflows/ci.yml | 10 +++++----- Dockerfile.dev | 2 -- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.dockerignore b/.dockerignore index 617ffff1..0385aba3 100644 --- a/.dockerignore +++ b/.dockerignore @@ -30,6 +30,8 @@ tmp/storage/* !tmp/storage/.keep public/assets +app/assets/builds +!app/assets/builds/.keep coverage diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ffb84bfd..caaff11a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -188,11 +188,11 @@ jobs: id: cpu_info run: echo "cpu_cores=$(nproc)" >> $GITHUB_ENV - - name: This is the worst patch ever - run: | - docker run -it -d --name rails_app api_base/test:latest "sleep infinity" - docker container cp rails_app:/src/app/app/assets/builds/. app/assets/builds - docker rm -f rails_app + # - name: This is the worst patch ever + # run: | + # docker run -it -d --name rails_app api_base/test:latest "sleep infinity" + # docker container cp rails_app:/src/app/app/assets/builds/. app/assets/builds + # docker rm -f rails_app - name: Run Tests env: diff --git a/Dockerfile.dev b/Dockerfile.dev index c3684972..75df4cab 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -42,8 +42,6 @@ COPY --link . . # Let Rails generate the secret_key_base RUN ./bin/rails runner 'puts Rails.application.secret_key_base' RUN ./bin/rails assets:precompile -RUN yarn build -RUN ls -R -a app/assets # Entrypoint prepares the database. ENTRYPOINT ["./bin/docker-entrypoint"]