Skip to content

Commit

Permalink
addition to devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
harivyasi committed Aug 14, 2023
1 parent 2da3658 commit 5b132f9
Showing 1 changed file with 26 additions and 20 deletions.
46 changes: 26 additions & 20 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
{
"name": "MapUsingPy",
"image": "mcr.microsoft.com/devcontainers/python",
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
"name": "MapUsingPy",
"image": "mcr.microsoft.com/devcontainers/python",
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pip install --user -r requirements.txt",
"postStartCommand": "zsh download_prerequistes.sh",
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pip install --user -r requirements.txt",
"postStartCommand": "zsh download_prerequistes.sh",

// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.autopep8"
]
}
},
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.autopep8"
],
"settings": {
"[python]": {
"editor.defaultFormatter": "ms-python.autopep8"
},
"editor.formatOnSave": true
}
}
},

// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}

0 comments on commit 5b132f9

Please sign in to comment.