Dockerfiles and related assets the illumidesk/morehouse-outreach-notebook
image. The image is based mostly off of the jupyter/datascience-notebook
image + additional Julia packages managed with Project.toml
and Manifest.toml
files to ensure reproducability.
- Install dependencies
make venv
- Build images
make build-all
You can also override default tags and/or images using the --build-args
flag to override the defaults assigned to the BASE_IMAGE
and TAG
arguments.
For example:
docker build \
--build-arg BASE_IMAGE=jupyter/minimal-notebook \
--build-arg TAG=latest \
-t illumidesk/morehouse-outreach-notebook \
morehouse-outreach-notebook/.
- Run:
Running the image standalone is helpful for testing:
docker run -p 8888:8888 illumidesk/morehouse-outreach-notebook:latest
Then, navigate to http://localhost:8888
to access your Jupyter Notebook server.
Refer to docker's documentation for additional
docker run ...
options.
- Test:
make test
- Create your virtual environment and install dev-requirements:
make venv
- Check Dockerfiles and code formatting with linters:
make lint-all
- Run tests:
The standard make test
command ensures the image is built before running tests:
make test
You can skip the build step and run the tests directly:
pytest -v
These images are based on the jupyter/docker-stacks
images. Refer to their documentation for the full set of configuration options.
MIT