This repository builds a Docker image for Molecular Biotechnology Python Lessons.
The built image provides:
- Python 3.9 and 3.11 (3.11 selected as default Jupyter kernel)
- VS Code with
ms-toolsai.jupyterextension - Packages specified in
ingredients/requirements.txtinstalled for Python 3.11
Dotfiles **/.* and Markdown files **/*.md are hidden in the VS Code file manager. Pylance is disabled for notebooks.
Using the image:
- Use the image
docker.io/kostrykin/mobi-devcontainer-python:<TAG>"indevcontainer.json. - Replace
<TAG>by a valid tag. - See
.devcontainer/devcontainer.jsonfor an example.
Resources:
- https://containers.dev/guide/prebuild
- https://github.com/microsoft/vscode-dev-containers/blob/main/containers/python-3/.devcontainer/devcontainer.json
- https://code.visualstudio.com/docs/devcontainers/devcontainer-cli#_prebuilding