Skip to content

Commit 94e337b

Browse files
committed
Updates development container configuration
Updates the development container configuration file. Removes unused secrets configuration and improves the formatting for better readability.
1 parent e5ce713 commit 94e337b

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

.devcontainer/devcontainer.json

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,18 @@
11
{
22
"name": "Snippy Functions Codespace",
33
"dockerFile": "Dockerfile",
4-
54
"features": {
65
"ghcr.io/devcontainers/features/azure-cli:1": {},
76
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
8-
"ghcr.io/devcontainers/features/node:1": { "version": "lts" }
9-
},
10-
11-
"forwardPorts": [7071],
12-
13-
"secrets": {
14-
"AzureWebJobsStorage": { "default": "UseDevelopmentStorage=true" },
15-
"COSMOS_CONN": {},
16-
"AZURE_OPENAI_ENDPOINT": {},
17-
"AZURE_OPENAI_KEY": {},
18-
"PROJECT_CONNECTION_STRING": {}
7+
"ghcr.io/devcontainers/features/node:1": {
8+
"version": "lts"
9+
}
1910
},
20-
11+
"forwardPorts": [
12+
7071
13+
],
2114
"postCreateCommand": "./.devcontainer/setup.sh",
2215
"postStartCommand": "bash .devcontainer/start.sh",
23-
2416
"customizations": {
2517
"vscode": {
2618
"extensions": [
@@ -31,14 +23,11 @@
3123
]
3224
}
3325
},
34-
3526
"mounts": [
3627
"source=codespaces-linux-var-lib-docker,target=/var/lib/docker,type=volume"
3728
],
38-
3929
"overrideCommand": false,
4030
"remoteUser": "codespace",
41-
4231
"runArgs": [
4332
"--cap-add=SYS_PTRACE",
4433
"--security-opt",

0 commit comments

Comments
 (0)