2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-13 10:35:40 +00:00

[dev] Devcontainer tweak (#9092)

* Remove blocking steps from devcontainer setup

* Ensure postCreateCommand.sh fails

* Mount postgres db to separate dir

- Avoid ownership issues of 'dev' dir

* Bump devcontainer docs
This commit is contained in:
Oliver
2025-02-18 12:24:49 +11:00
committed by GitHub
parent fe726afd17
commit 0404d5c137
5 changed files with 11 additions and 7 deletions

View File

@ -1,4 +1,7 @@
#!/bin/bash
set -e
echo "Running postCreateCommand.sh ..."
# Avoiding Dubious Ownership in Dev Containers for setup commands that use git
git config --global --add safe.directory /home/inventree
@ -34,6 +37,3 @@ invoke dev.setup-dev
# Install required frontend packages
invoke int.frontend-install
# Install playwright dependencies
cd src/frontend && sudo npx playwright install-deps