ruoyi-plus-soybean/Makefile

17 lines
377 B
Makefile
Raw Normal View History

2022-09-13 20:56:59 +08:00
ImageTag ?=v0.9.6
2022-09-14 12:28:14 +08:00
SoybeanAdminImg ?= soybeanjs/soybean-admin:$(ImageTag)
2022-09-13 20:56:59 +08:00
VERSION=$(shell git rev-parse --short HEAD)
2022-09-14 12:28:14 +08:00
soybean-admin: soybean-admin-build soybean-admin-push
2022-09-13 20:56:59 +08:00
2022-09-14 12:28:14 +08:00
soybean-admin-build:
docker build --build-arg version=$(VERSION) -t ${SoybeanAdminImg} -f docker/Dockerfile .
2022-09-13 20:56:59 +08:00
2022-09-14 12:28:14 +08:00
soybean-admin-push:
docker push ${SoybeanAdminImg}
2022-10-11 15:23:01 +08:00
# run tauri app:
run:
pnpm tauri dev