aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.prod
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.prod')
-rw-r--r--Makefile.prod17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile.prod b/Makefile.prod
new file mode 100644
index 0000000..836244f
--- /dev/null
+++ b/Makefile.prod
@@ -0,0 +1,17 @@
+DOCKER_COMPOSE := docker compose
+
+.PHONY: build
+build:
+ ${DOCKER_COMPOSE} build
+
+.PHONY: serve
+serve:
+ ${DOCKER_COMPOSE} up -d
+
+.PHONY: clean
+clean:
+ ${DOCKER_COMPOSE} down
+
+.PHONY: logs
+logs:
+ ${DOCKER_COMPOSE} logs