Skip to content

Commit fc11119

Browse files
authored
Integrate poetry into devcontainers (#431)
see #431
1 parent 098db15 commit fc11119

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
echo "Running post-create-command.sh"
2+
3+
curl -sSL https://install.python-poetry.org | python3 -
4+
5+
poetry install --all-extras

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
// "forwardPorts": [],
1919

2020
// Use 'postCreateCommand' to run commands after the container is created.
21-
"postCreateCommand": "pip install --user -r requirements/ubuntu-latest-3.11.txt",
21+
"postCreateCommand": ".devcontainer/commands/post-create-command.sh",
2222
"customizations": {
2323
"vscode": {
2424
"extensions": [

0 commit comments

Comments
 (0)