16 lines
315 B
Makefile
16 lines
315 B
Makefile
VERSION := $(shell git describe --always --dirty)
|
|
|
|
.PHONY: build
|
|
build:
|
|
npm install
|
|
npm run build
|
|
|
|
.PHONY: run
|
|
run:
|
|
npm run start
|
|
|
|
.PHONY: images
|
|
images:
|
|
docker buildx build --platform linux/arm/v7 -t musicqueue:$(VERSION)-armv7l .
|
|
docker buildx build --platform linux/amd64 -t musicqueue:$(VERSION)-amd64 .
|