summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)