Files
max/.devcontainer/devcontainer.json

33 lines
1.0 KiB
JSON

{
"name": "max",
"dockerComposeFile": "compose.yml",
"service": "dev",
"workspaceFolder": "/workspaces/max",
"remoteUser": "dev",
"features": {
// moby=false: Moby packages are not available for Debian trixie, use Docker CE.
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"moby": false
}
},
// Bind mounts are resolved by the host's daemon, so they need host paths:
// use ${LOCAL_WORKSPACE_FOLDER} instead of paths inside this container.
"remoteEnv": {
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}",
"LANG": "C.UTF-8"
},
"postCreateCommand": "pip install -U pip && pip install -U -r requirements.txt -r requirements-dev.txt",
"forwardPorts": [
8757
],
"customizations": {
"vscode": {
"extensions": [
"ms-python.python"
],
"settings": {
"python.defaultInterpreterPath": "/opt/venv/bin/python"
}
}
}
}