Skip to content

Commit 0a543c6

Browse files
committed
Added support for codespaces
1 parent 6a54e2e commit 0a543c6

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "Lambda Feedback Evaluation Function",
3+
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bookworm",
4+
"postCreateCommand": "python -m pip install --upgrade pip && python -m pip install poetry==1.8.3 && poetry config virtualenvs.in-project true && poetry install",
5+
"postStartCommand": "python -m venv .venv >/dev/null 2>&1 || true && . .venv/bin/activate && poetry install",
6+
"forwardPorts": [8080],
7+
"customizations": {
8+
"vscode": {
9+
"extensions": [
10+
"ms-python.python",
11+
"ms-python.vscode-pylance",
12+
"GitHub.copilot",
13+
"GitHub.copilot-chat"
14+
],
15+
"settings": {
16+
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
17+
"python.terminal.activateEnvironment": true,
18+
"python.analysis.extraPaths": ["${workspaceFolder}"]
19+
}
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)