Add 'make docker-nobuild' target

This commit is contained in:
Radon Rosborough 2020-07-19 08:49:42 -06:00
parent 4befef1413
commit e6d625e1eb
1 changed files with 4 additions and 1 deletions

View File

@ -17,7 +17,10 @@ image-prod: ## Build Docker image for production
scripts/docker.bash build . -f Dockerfile.prod -t riju:prod --build-arg "UID=$(UID)"
.PHONY: docker
docker: image-dev ## Run shell with source code and deps inside Docker
docker: image-dev docker-nobuild ## Run shell with source code and deps inside Docker
.PHONY: docker
docker-nobuild: ## Same as 'make docker', but don't rebuild image
scripts/docker.bash run -it --rm -v "$(PWD):/home/docker/src" -p 6119:6119 -p 6120:6120 -h riju riju bash
.PHONY: deploy