Skip to content

Commit 8ca7ecb

Browse files
committed
separate startup commands
1 parent 01aedb5 commit 8ca7ecb

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.devcontainer/devcontainer.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,14 @@
2929
"mounts": [
3030
"source=${localWorkspaceFolderBasename}-pixi,target=${containerWorkspaceFolder}/.pixi,type=volume"
3131
],
32+
// These should execute in order below
33+
"onCreateCommand": {
34+
"configure_jupyterlab": "pip install jupyterlab_myst pixi-kernel"
35+
},
3236
"postCreateCommand": {
33-
"configure_jupyterlab": "pip install jupyterlab_myst pixi-kernel",
34-
"set_pixi_permissions": "sudo chown vscode .pixi",
35-
"install_pixi_environment": "pixi install"
37+
"set_pixi_permissions": "sudo chown vscode .pixi"
38+
},
39+
"postStartCommand": {
40+
"configure_jupyterlab": "pixi install"
3641
}
3742
}

0 commit comments

Comments
 (0)