// 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": "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", // Features to add to the dev container. More info: https://containers.dev/features. "features": { "ghcr.io/devcontainers-contrib/features/hatch:2": {} }, // Use 'initializeCommand' to run commands before anything else: "initializeCommand": "git submodule update --init", // Use 'onCreateCommand' to run commands after the container is created inside the container: "onCreateCommand": "hatch env create default && hatch env create docs", }