- "text": "If you use VSCode with Docker to develop in a container, the following VSCode Dev Container configuration will install all dependencies:\n{\n \"name\": \"Python 3\",\n \"image\": \"mcr.microsoft.com/devcontainers/python:1-3.12-bullseye\",\n \"postCreateCommand\": \"sudo apt update && sudo apt install -y python3-dev libpq-dev graphviz && quarto add mcanouil/quarto-iconify && pipx install poetry && poetry install && poetry shell\",\n \"features\": {\n \"ghcr.io/devcontainers/features/docker-outside-of-docker:1\": {},\n \"ghcr.io/rocker-org/devcontainer-features/quarto-cli:1\": {}\n }\n}\nSimply create a .devcontainer folder in the root of the project and add a devcontainer.json file in the folder with the above content. VSCode may prompt you to install the Dev Container extension if you haven’t already, and/or to open the project in a container. If not, you can manually select “Dev Containers: Reopen in Container” from View > Command Palette."
0 commit comments