Skip to content

Commit 49c3a59

Browse files
committed
Added the volumes to have the live changes applied to the container files.
1 parent c1f736e commit 49c3a59

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker-compose.dev.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@ services:
6060
- ./:/var/www/html/monarc
6161
# Preserve vendor directory in named volume for better performance
6262
- vendor_data:/var/www/html/monarc/vendor
63+
# Override monarc vendor packages to keep local edits in sync
64+
- ./vendor/monarc:/var/www/html/monarc/vendor/monarc:delegated
6365
- node_modules_data:/var/www/html/monarc/node_modules
66+
# Override the volumes to keep local edits in sync
67+
- ./node_modules/ng_backoffice:/var/www/html/monarc/node_modules/ng_backoffice:delegated
68+
- ./node_modules/ng_anr:/var/www/html/monarc/node_modules/ng_anr:delegated
6469
working_dir: /var/www/html/monarc
6570

6671
networks:

0 commit comments

Comments
 (0)