feat: 更新本地编译命令

This commit is contained in:
2023-08-14 10:00:50 +08:00
parent 6a5e8bd8b1
commit a1854ff46b
+1 -1
View File
@@ -29,7 +29,7 @@ build-arg+=--build-arg LOCAL_URL=https://local.colovu.com/dist
build:
@echo "Build $(image_name):$(image_tag)"
@docker build --force-rm $(build-arg) -t $(image_name):$(image_tag) .
@docker buildx build --force-rm $(build-arg) -t $(image_name):$(image_tag) .
@echo "Add tag: $(image_name):latest"
@docker tag $(image_name):$(image_tag) $(image_name):latest
@echo "Build complete"