Skip to content

Commit e5876c8

Browse files
committed
[TEMP] fix the dubious ownership in repository at '/app' error
1 parent 3e85f16 commit e5876c8

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

docker-compose.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ services:
1414
# allows the root git repo to be accessed in the container, which
1515
# lets GitRevisionPlugin tag each build with its commit hash, branch, etc.
1616
- .git:/app/.git:delegated,ro
17-
command: bash -c "npx browserslist@latest --update-db && npm ci && npm run build && rm -rf /web_root/* && cp -R /app/dist/* /web_root/"
17+
# TODO: DM: remove this git config --global --add safe.directory /app it should not be there!!
18+
command: bash -c "git config --global --add safe.directory /app && npx browserslist@latest --update-db && npm ci && npm run build && rm -rf /web_root/* && cp -R /app/dist/* /web_root/"
1819
env_file:
1920
- .env
2021
depends_on:

svip-o-vue/package-lock.json

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)