diff --git a/.devcontainer/commands/post-create-command.sh b/.devcontainer/commands/post-create-command.sh new file mode 100755 index 00000000..00187290 --- /dev/null +++ b/.devcontainer/commands/post-create-command.sh @@ -0,0 +1,5 @@ +echo "Running post-create-command.sh" + +curl -sSL https://install.python-poetry.org | python3 - + +poetry install --all-extras \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 69edb936..1c300bcc 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -18,7 +18,7 @@ // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "pip install --user -r requirements/ubuntu-latest-3.11.txt", + "postCreateCommand": ".devcontainer/commands/post-create-command.sh", "customizations": { "vscode": { "extensions": [