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 .PHONY: build
build: build:
npm install npm install
@@ -5,4 +7,9 @@ build:
.PHONY: run .PHONY: run
run: run:
npm run start 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 .