Skip to content

Commit

Permalink
Update dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
axelpontetto committed Dec 5, 2024
1 parent 0dcbcfb commit c8446ef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ tmp/storage/*
!tmp/storage/.keep

public/assets
app/assets/builds
!app/assets/builds/.keep

coverage

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 0 additions & 2 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit c8446ef

Please sign in to comment.