node_modulesをvolume化して高速化+パーミッション問題回避、git submodule update時にローカルにsubmoduleがあっても問題が起こらないようにする (#13956)
This commit is contained in:
parent
ff3a38a7f5
commit
92367cf700
3 changed files with 5 additions and 2 deletions
|
|
@ -8,6 +8,7 @@ services:
|
|||
|
||||
volumes:
|
||||
- ../:/workspace:cached
|
||||
- node_modules:/workspace/node_modules
|
||||
|
||||
command: sleep infinity
|
||||
|
||||
|
|
@ -46,6 +47,7 @@ services:
|
|||
volumes:
|
||||
postgres-data:
|
||||
redis-data:
|
||||
node_modules:
|
||||
|
||||
networks:
|
||||
internal_network:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue