File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
22// https://github.com/microsoft/vscode-dev-containers/tree/v0.202.5/containers/python-3
33{
4- "name" : " Python 3" ,
5- // "runArgs": [
6- // "--init"
7- // ],
4+ "name" : " Docker Database Backup" ,
85 "build" : {
9- "dockerfile" : " Dockerfile"
6+ "dockerfile" : " Dockerfile" ,
7+ "context" : " ."
108 },
119 // Set *default* container specific settings.json values on container create.
1210 "customizations" : {
3836 ],
3937 }
4038 },
41- // Use 'forwardPorts' to make a list of ports inside the container available locally.
42- // "forwardPorts": [],
43- // Use 'postCreateCommand' to run commands after the container is created.
44- // "postCreateCommand": "pip-sync",
45- // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
39+ "postCreateCommand" : " pip-sync" ,
4640 "features" : {
4741 "ghcr.io/devcontainers/features/docker-outside-of-docker:1" : {
4842 "moby" : " false"
4943 }
5044 },
51- // "remoteUser": "root"
45+ // root required for pip-sync to install packages globally
46+ "remoteUser" : " root"
5247}
You can’t perform that action at this time.
0 commit comments