/ .devcontainer / devcontainer.json
devcontainer.json
 1  {
 2      "name": "fast-seqfunc",
 3      "build": {
 4          "dockerfile": "Dockerfile",
 5          "context": ".."
 6      },
 7      "customizations": {
 8          "vscode": {
 9              "extensions": [
10                  "ms-azuretools.vscode-docker",
11                  "ms-toolsai.jupyter",
12                  "arcticicestudio.nord-visual-studio-code",
13                  "ms-python.vscode-pylance",
14                  "ms-python.python",
15                  "redhat.vscode-yaml"
16              ]
17          }
18      },
19      "forwardPorts": [
20          8888
21      ],
22      "postCreateCommand": "pre-commit install && python -m ipykernel install --user --name fast-seqfunc }}",
23      // Use 'postStartCommand' to run commands after the container is _started_.
24      "postStartCommand": "jupyter lab --allow-root"
25  }