From 4264b985474d7ab56e3366a21e549e0bf47d324d Mon Sep 17 00:00:00 2001 From: "jorg.vr" Date: Wed, 30 Oct 2024 15:27:36 +0100 Subject: [PATCH] Use script --- .devcontainer/dev-dependencies.sh | 4 ++-- .devcontainer/devcontainer.json | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) mode change 100644 => 100755 .devcontainer/dev-dependencies.sh 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", }