This repository tests the devcontainer.json → Dockerfile workflow for BinderHub.
- The
.devcontainer/devcontainer.jsonspecifies the environment - We use
repo2docker --write-dockerfile Dockerfileto generate a Dockerfile - Standard BinderHub sees the Dockerfile and builds from it
import numpy
import os
print(f"TEST_VAR = {os.environ.get('TEST_VAR')}")