From 86e0e00b1e9fbcfaf946ce4994d8e65d1bea9bc3 Mon Sep 17 00:00:00 2001 From: Eli Holmes Date: Mon, 3 Jun 2024 01:13:28 -0700 Subject: [PATCH] minor --- .devcontainer/test/devcontainer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.devcontainer/test/devcontainer.json b/.devcontainer/test/devcontainer.json index b20445d..509cf0a 100644 --- a/.devcontainer/test/devcontainer.json +++ b/.devcontainer/test/devcontainer.json @@ -8,13 +8,16 @@ // Ports to be forwarded from the container to the host "forwardPorts": [8889], - "portsAttributes": { "8889": { "label": "Jupyter Lab", "onAutoForward": "notify" } }, + + // Create a README that is automatically opened in preview mode "postCreateCommand": "echo '[![](https://img.shields.io/badge/Open%20Jupyter%20Lab-37a779?style=for-the-badge)](https://'${CODESPACE_NAME}'-8889.app.github.dev)' > README.md", + + // Start Jupyter Lab "postStartCommand": "jupyter lab --ip=0.0.0.0 --port=8889 --allow-root --no-browser --notebook-dir=/home/jovyan --NotebookApp.token='' --NotebookApp.password=''", } \ No newline at end of file