cogent3 / Cogent3Workshop

Materials for the Phylomania workshop
BSD 3-Clause "New" or "Revised" License
8 stars 4 forks source link

Use a .devcontainer for the workshop environment #38

Closed khiron closed 10 months ago

khiron commented 10 months ago

This version of the containerization uses VS Code's devcontainer feature, which is a seamless development experience

.devcontainer/devcontainer.json declares configuration for how VS Code will work in the container
.devcontainer/DockerFile declares specification for the container

VS Code when loading a folder with a .devcontainer subfolder, will offer the option "run in a container," and that handles all the docker build docker run, mounts, shells, virtual environments, and dependencies