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 1 year ago

khiron commented 1 year 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