From c7326789bc022cbcb228dc51c02b503f13bff6c3 Mon Sep 17 00:00:00 2001 From: Alejandro Sanchez Date: Fri, 8 Dec 2023 19:19:56 -0500 Subject: [PATCH] Update devcontainer.json --- .devcontainer/devcontainer.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 56366f7a..b5143969 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,8 +3,7 @@ { "name": "Python 3", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye", - + "image": "mcr.microsoft.com/devcontainers/python:0-3.11", "onCreateCommand": "pip3 install --user -r requirements.txt", "customizations": { "vscode": { @@ -15,6 +14,10 @@ } } - // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. - // "remoteUser": "root" + // 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", + }