summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-09-07 01:49:06 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2024-09-07 01:49:06 -0400
commit4f4e44afb1f922ca16063ff2cbd2f0573847b54d (patch)
tree4f4670f79040ae25a4c98d4c89a634209a93f879 /Makefile
parentf903439cbc504b9a7b676eb8a1c4e1d4c95a61fc (diff)
Containerization
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..73191ef
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+DOCKER_IMAGE=songlinkr
+CONTAINER_NAME=songlinkr-container
+
+compile:
+ docker build -t $(DOCKER_IMAGE) .
+
+run:
+ docker run --rm \
+ --name $(CONTAINER_NAME) \
+ -v $(PWD)/secrets:/secrets \
+ -e SECRETS_PATH="/secrets" \
+ $(DOCKER_IMAGE)