Skip to content

Commit

Permalink
add dev container
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Feb 28, 2024
1 parent 4539dd5 commit f03eb17
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name": "portal",
"dockerComposeFile": [
"../docker-compose.yml"
],
"service": "base-service",
"shutdownAction": "none",
"workspaceFolder": "/workspace/codeforlife-portal",
"remoteUser": "root",
"postCreateCommand": "pipenv install --dev",
"features": {
"ghcr.io/devcontainers/features/python:1": {
"version": "3.8",
"installTools": false
},
"ghcr.io/devcontainers-contrib/features/pipenv:2": {
"version": "2023.11.15"
}
},
"customizations": {
"vscode": {
//TODO: Specify preferred settings and extensions once defined
"settings": {
"python.defaultInterpreterPath": ".venv/bin/python"
},
"extensions": [
"github.vscode-pull-request-github",
"redhat.vscode-yaml",
"davidanson.vscode-markdownlint",
"bierner.markdown-mermaid",
"ms-python.python",
"ms-python.pylint",
"ms-python.isort",
"ms-python.vscode-pylance",
"ms-python.mypy-type-checker",
"ms-python.black-formatter",
"streetsidesoftware.code-spell-checker",
"tamasfe.even-better-toml",
"kevinrose.vsc-python-indent",
"batisteo.vscode-django",
"njpwerner.autodocstring",
"visualstudioexptteam.vscodeintellicode",
"wholroyd.jinja",
"qwtel.sqlite-viewer"
]
}
}
}

0 comments on commit f03eb17

Please sign in to comment.