Skip to content

Commit a7b5dd9

Browse files
authored
Merge pull request #20 from DataRecce/infra/devcontainer-for-recce-server
[Infra] Add dev container for Recce Server
2 parents 2915805 + 894a4ff commit a7b5dd9

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed

.devcontainer/devcontainer.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "Recce Cloud",
3+
"image": "infuseai/dev-container-base-image:latest",
4+
"containerEnv": {
5+
"RECCE_CI_WORKFLOW_NAME": ".github/workflows/recce_ci.yml", // Path to the Recce CI workflow file
6+
"DEPENDENCIES_FILE": "requirements.txt", // Path to the python dependencies file
7+
"POST_INSTALL_DEPENDENCIES_COMMAND": "pip install gradio" // Command to install python dependencies
8+
},
9+
"customizations": {
10+
"vscode": {
11+
"settings": {
12+
"terminal.integrated.shell.linux": "/bin/bash"
13+
}
14+
}
15+
},
16+
"forwardPorts": [ 8000 ],
17+
"portsAttributes": {
18+
"8000": {
19+
"label": "Recce Server",
20+
"onAutoForward": "openBrowser"
21+
}
22+
},
23+
"postStartCommand": "post_start_command"
24+
}

.vscode/tasks.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
"problemMatcher": [],
2020

2121
// Try start the task on folder open
22-
"runOptions": {
23-
"runOn": "folderOpen"
24-
},
22+
// "runOptions": {
23+
// "runOn": "folderOpen"
24+
// },
2525
// Create the tasks in a terminal group
2626
"presentation": {
2727
"panel": "shared",

0 commit comments

Comments
 (0)