1 Star 0 Fork 2

劲哥哥/riju

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 890 Bytes
一键复制 编辑 原始数据 按行查看 历史
Radon Rosborough 提交于 2020-07-19 08:49 . Add 'make docker-nobuild' target
UID := $(shell id -u)
.PHONY: help
help: ## Show this message
@echo "usage:" >&2
@grep -h "[#]# " $(MAKEFILE_LIST) | \
sed 's/^/ make /' | \
sed 's/:[^#]*[#]# /|/' | \
column -t -s'|' >&2
.PHONY: image-dev
image-dev: ## Build Docker image for development
scripts/docker.bash build . -f Dockerfile.dev -t riju --build-arg "UID=$(UID)"
.PHONY: image-prod
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 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
deploy: ## Deploy current master from GitHub to production
scripts/deploy.bash
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/plaodj/riju.git
git@gitee.com:plaodj/riju.git
plaodj
riju
riju
master

搜索帮助