See the syntax parser directive. It must be the first line of the file.
Dockerfile - create a container hosting the Runestone servers¶
To build, execute docker-tools
docker_tools.py - Tools for building and using the Runestone Servers in Docker passes this when invoking a
It must be an
ENV so that it exists when the
CMD is run by
Define some ARGs which could be passed into while building.
Warning: Changing this path will require changes in many other places: the Docker volume locations, the paths in
pyproject.toml, paths used to run tests, etc.
And export some as env vars so they could be available at run time
Click needs these encodings for Python 3.
To prevent interactive debconf during installations.
We need the entire Runstone server repo for the build.
Tell the script this is the build phase of the process.
Run the main script.
Allow path changes by running bash – see docker_tools.py - Tools for building and using the Runestone Servers in Docker. Run the script again, in the run phase of the process.