aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.prod
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-12-05 04:08:22 +0900
committernsfisis <nsfisis@gmail.com>2025-12-05 04:08:22 +0900
commitfbd4f2129ce8fe106391302896dd86e05b2f331b (patch)
tree3be97d86c89a4a8a497e1b8a2d7d032eb153438e /Makefile.prod
parentca3f1c4b0bd08ab6e836923601cf699d1fd894fb (diff)
downloadphperkaigi-2024-albatross-archive-fbd4f2129ce8fe106391302896dd86e05b2f331b.tar.gz
phperkaigi-2024-albatross-archive-fbd4f2129ce8fe106391302896dd86e05b2f331b.tar.zst
phperkaigi-2024-albatross-archive-fbd4f2129ce8fe106391302896dd86e05b2f331b.zip
add files
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