-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdevcontainer.json
More file actions
38 lines (38 loc) · 1.13 KB
/
Copy pathdevcontainer.json
File metadata and controls
38 lines (38 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"name": "StructKit devcontainer",
"image": "mcr.microsoft.com/devcontainers/python:3",
"features": {
// "ghcr.io/devcontainers/features/python:1": {},
"ghcr.io/gvatsal60/dev-container-features/pre-commit:1": {}
},
"postCreateCommand": "bash ./scripts/devcontainer_start.sh",
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"Github.copilot",
"kameshkotwani.google-search",
"lacroixdavid1.vscode-format-context-menu",
"task.vscode-task",
"redhat.vscode-yaml",
"esbenp.prettier-vscode",
"editorconfig.editorconfig",
"davidanson.vscode-markdownlint",
"foxundermoon.shell-format",
"gruntfuggly.todo-tree"
],
"settings": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
},
"mounts": [
"type=bind,source=${localWorkspaceFolder},target=/work",
"type=bind,source=/home/${localEnv:USER}/.ssh,target=/home/vscode/.ssh"
],
// environment variables to be set in the container
"remoteEnv": {
"OPENAI_API_KEY": "set-key-here"
}
}