Skip to content

Commit

Permalink
added devcontainer configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
alesanchezr committed Dec 9, 2023
1 parent d5a5d71 commit ab249f9
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
{
"name": "Python 3",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:0-3.11",
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",

"onCreateCommand": "pip3 install --user -r requirements.txt",
"customizations": {
"vscode": {
Expand All @@ -14,10 +15,6 @@
}
}

// 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": "pip3 install --user -r requirements.txt",

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

0 comments on commit ab249f9

Please sign in to comment.