feat: makefile advancements
All checks were successful
Build / build (pull_request) Successful in 44s

- add test target
- update clean target
This commit is contained in:
Ben Vincent 2024-11-16 19:09:23 +11:00
parent adc01e2707
commit 0f2d2b49ca

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