Skip to content

Commit 989411f

Browse files
authored
fix / Issues #30 and #29 for Linux dev container (#32)
Add `.devcontainer` folder
1 parent 73fa423 commit 989411f

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "azureai-basic-python",
3+
"image": "mcr.microsoft.com/devcontainers/python:3.11-bullseye",
4+
"forwardPorts": [50505],
5+
"features": {
6+
"ghcr.io/azure/azure-dev/azd:latest": {}
7+
},
8+
"customizations": {
9+
"vscode": {
10+
"extensions": [
11+
"ms-azuretools.azure-dev",
12+
"ms-azuretools.vscode-bicep",
13+
"ms-python.python",
14+
"ms-toolsai.jupyter",
15+
"GitHub.vscode-github-actions"
16+
]
17+
}
18+
},
19+
"postCreateCommand": "python3 -m pip install -r requirements-dev.txt && python3 -m pip install -e src",
20+
"remoteUser": "vscode",
21+
"hostRequirements": {
22+
"memory": "8gb"
23+
}
24+
}

scripts/write_env.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)