Annotated docker image for running a Jupyter notebook with the MetPy library.
# build the image
docker build -t metpy_test .
# run the container
docker run -it --rm --name metpy_test -p 8888:8888 -v ~/metpy_test:/app metpy_test# build
docker compose build
# run the container
docker compose up
# build and run the container
docker compose up --build
# run the container in the background
docker compose up -d
# stop the container
docker compose stop
# remove the container and default bridge network
docker compose down- Add
asdf - Add
poetry - Add
.dockerignore - Add
hadolintand lint Dockerfile - Add
diveand reduce image size - Migrate to
alpine(along with musl libc changes) - Create multistage build:
Docker.multistage - Add HTTPS
- mkcert
mkcert -key-file key.pem -cert-file cert.pem jupyter.local *.jupyter.local mkcert -install - LetsEncrypt
- mkcert
- Setup CI to auto publish to docker.io and ghcr.io registries