feat(container) production build

This commit is contained in:
lumither committed 2024-12-08 22:25:47 -08:00
1 parent eac84307bf
commit 20c2964242
10 files changed
+99 -24

No files matched your search

+13 -3
View File
@@ -1,6 +1,16 @@
ddev:
ARCH := $(shell uname -m)
ifeq ($(ARCH), arm64)
ARCH := aarch64
endif
all: release
release:
docker compose -f prod.compose.yaml build --build-arg ARCH=$(ARCH)
dev:
docker-compose -f dev.compose.yaml up --build
dclean:
docker-compose -f dev.compose.yaml rm -fsv
clean:
docker-compose -f prod.compose.yaml -f dev.compose.yaml rm -fsv