We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b09bfe commit 83ed482Copy full SHA for 83ed482
1 file changed
.devcontainer/devcontainer.json
@@ -1,7 +1,8 @@
1
{
2
"name": "evaluatePython",
3
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bookworm",
4
- "postCreateCommand": "pip install poetry==1.8.3 && poetry install",
+ "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": {
0 commit comments