Skip to content

Commit

Permalink
Merge pull request #231 from MickaelFontes/config-codespace
Browse files Browse the repository at this point in the history
Codespace
  • Loading branch information
MickaelFontes authored Jan 27, 2025
2 parents 717bc81 + 03ab3be commit 4533b0a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "Python 3, Poetry",
"image": "mcr.microsoft.com/devcontainers/universal:2",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers-extra/features/poetry:2": {}
},
"customizations": {
"vscode": {
"git.autofetch": true,
"extensions": [
"ms-python.autopep8",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.debugpy",
"ms-python.flake8",
"ms-python.pylint",
"vivaxy.vscode-conventional-commits"
]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
8080
],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "poetry sync"
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}

0 comments on commit 4533b0a

Please sign in to comment.