move web components to web/
This commit is contained in:
23
web/Makefile
Normal file
23
web/Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
VERSION := $(shell git describe --always --dirty)
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
npm install
|
||||
npm run build --workspaces
|
||||
|
||||
.PHONY: dev
|
||||
dev:
|
||||
npm run dev
|
||||
|
||||
.PHONY: run
|
||||
run:
|
||||
npm run start
|
||||
|
||||
.PHONY: image
|
||||
image:
|
||||
docker build -t queuecube:$(VERSION)-$(shell uname -m) .
|
||||
|
||||
.PHONY: images
|
||||
images:
|
||||
docker buildx build --platform linux/arm/v7 -t queuecube:$(VERSION)-armv7l .
|
||||
docker buildx build --platform linux/amd64 -t queuecube:$(VERSION)-amd64 .
|
||||
Reference in New Issue
Block a user