Makefile: docker image building

This commit is contained in:
2025-02-22 01:09:46 -08:00
parent 880057b0fc
commit 4d4b26e105

View File

@@ -1,3 +1,5 @@
VERSION := $(shell git describe --always --dirty)
.PHONY: build
build:
npm install
@@ -6,3 +8,8 @@ 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 .