Skip to content

Commit

Permalink
Initial dev container implementation for vscode.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiru committed Nov 30, 2024
1 parent 3487ec0 commit 4057333
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Plone 6.1",
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye"

// Use 'portsAttributes' to set default properties for specific forwarded ports.
// More info: https://containers.dev/implementors/json_reference/#port-attributes
"portsAttributes": {
"8080": {
"label": "Plone Backend",
"onAutoForward": "notify"
}
},

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pip3 install --user -r requirements.txt"
}

0 comments on commit 4057333

Please sign in to comment.