initial switch to a devcontainer
This commit is contained in:
1 parent
2bd853e9b5
commit
65dddea3bc
8 files changed
+102
-3
No files matched your search
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"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}"
|
||||
},
|
||||
"postCreateCommand": "pip install -U pip && pip install -U -r requirements.txt -r requirements-dev.txt",
|
||||
"forwardPorts": [
|
||||
8000
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user