Skip to content

Commit 1841012

Browse files
feat: added dev container
1 parent f8640d9 commit 1841012

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"name": "Multi Agent Custom Automation Engine Solution Accelerator",
3+
"image": "mcr.microsoft.com/devcontainers/python:3.10",
4+
"features": {
5+
"ghcr.io/devcontainers/features/azure-cli:1.0.8": {},
6+
"ghcr.io/azure/azure-dev/azd:latest": {},
7+
"ghcr.io/rchaganti/vsc-devcontainer-features/azurebicep:1.0.5": {}
8+
},
9+
10+
11+
"postCreateCommand": "sudo chmod +x .devcontainer/setupEnv.sh && ./.devcontainer/setupEnv.sh",
12+
13+
"customizations": {
14+
"vscode": {
15+
"extensions": [
16+
"ms-azuretools.azure-dev",
17+
"ms-azuretools.vscode-bicep",
18+
"ms-python.python"
19+
]
20+
},
21+
"codespaces": {
22+
"openFiles": [
23+
"README.md"
24+
]
25+
}
26+
},
27+
"forwardPorts": [
28+
8000,
29+
3000
30+
],
31+
"remoteUser": "vscode",
32+
"hostRequirements": {
33+
"memory": "8gb"
34+
}
35+
}

.devcontainer/setupEnv.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
pip install --upgrade pip
4+
5+
6+
(cd ./src/frontend; pip install -r requirements.txt)
7+
8+
(cd ./src/backend; pip install -r requirements.txt)

0 commit comments

Comments
 (0)