forked from e621ng/e621ng
[Docker] Make the rubocop cache work
On my slow machine a run took about 3m30s, with this change it's down to just 20s
This commit is contained in:
parent
3553987b6d
commit
e6b374526b
@ -130,7 +130,8 @@ services:
|
||||
image: e621
|
||||
volumes:
|
||||
- .:/app
|
||||
entrypoint: bundle exec rubocop
|
||||
- rubocop_cache:/rubocop_cache
|
||||
entrypoint: bundle exec rubocop --cache-root /rubocop_cache
|
||||
profiles:
|
||||
- rubocop
|
||||
|
||||
@ -154,3 +155,4 @@ volumes:
|
||||
node_modules:
|
||||
public_packs:
|
||||
public_packs_test:
|
||||
rubocop_cache:
|
||||
|
Loading…
Reference in New Issue
Block a user