Skip to content

Commit cd8d48e

Browse files
committed
Start service on postCreateCommand to avoid recreating multiple jupyter servers
1 parent aac5567 commit cd8d48e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
},
3333
"onCreateCommand": "conda env create -f environment.yml",
3434
"updateContentCommand": "conda init",
35-
"postStartCommand": "/opt/conda/envs/golden_scenario_env/bin/jupyter lab --notebook-dir=/workspaces/data-science --ip='0.0.0.0' --port=8888 --no-browser"
35+
"postCreateCommand": "/opt/conda/envs/golden_scenario_env/bin/jupyter lab --notebook-dir=/workspaces/data-science --ip='0.0.0.0' --port=8888 --no-browser"
3636
}

0 commit comments

Comments
 (0)