Skip to content

Commit

Permalink
chore: support devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardzjl committed Dec 10, 2024
1 parent 6488532 commit 9b8f525
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// 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": "PyBox",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:1-3.12",

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},


// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pip3 install hatch"

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}

0 comments on commit 9b8f525

Please sign in to comment.