diff --git a/.devcontainer/dev-dependencies.sh b/.devcontainer/dev-dependencies.sh old mode 100644 new mode 100755 index 4158dba6..b5813b1a --- a/.devcontainer/dev-dependencies.sh +++ b/.devcontainer/dev-dependencies.sh @@ -4,5 +4,5 @@ # install poetry pip install poetry --user -# Install dependencies (include --dev for tests/development) -poetry install --dev +# Install dependencies +python -m poetry install --with dev diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 2501ea58..18ae64f3 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -4,6 +4,5 @@ "dockerfile": "dodona-tested.dockerfile", "context": "." }, - // install dev dependencies - "postCreateCommand": "pip install poetry --user; python -m poetry install --with dev" + "postCreateCommand": "./.devcontainer/dev-dependencies.sh", }