Merge pull request 'feat: makefile advancements' (#3) from neoloc/add_work_dir into master
All checks were successful
Deploy / build (push) Successful in 46s

Reviewed-on: https://git.query.consul/unkin/docker-almalinux-jupyterinstance/pulls/3
This commit is contained in:
Ben Vincent 2024-11-16 19:11:40 +11:00
commit 6bff1ed83f

View File

@ -28,6 +28,10 @@ push: tag
# Clean up dangling Docker images
clean:
docker image prune -f
sudo docker rm jupyterinstance
test:
sudo docker run -it --name jupyterinstance --entrypoint /bin/bash -v jupyterhub-test:/home/jupyter/work $(REGISTRY)/$(OWNER)/$(IMAGE_NAME):latest
# Default target
default: build