aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..b891015
--- /dev/null
+++ b/makefile
@@ -0,0 +1,30 @@
+.PHONY: d_test d_deploy d_down d_build help
+
+IMAGE_NAME=milla
+
+d_test:
+ nq docker compose -f ./docker-compose-devi.yaml up --build
+
+d_deploy:
+ nq docker compose -f ./docker-compose.yaml up --build
+
+d_down:
+ docker compose -f ./docker-compose.yaml down
+ docker compose -f ./docker-compose-devi.yaml down
+
+d_build: d_build_distroless_vendored
+
+d_build_regular:
+ docker build -t $(IMAGE_NAME)-f ./Dockerfile .
+
+d_build_distroless:
+ docker build -t $(IMAGE_NAME) -f ./Dockerfile_distroless .
+
+d_build_distroless_vendored:
+ docker build -t $(IMAGE_NAME) -f ./Dockerfile_distroless_vendored .
+
+help:
+ @echo "d_test"
+ @echo "d_deploy"
+ @echo "d_down"
+ @echo "d_build"