diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-09-07 01:49:06 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2024-09-07 01:49:06 -0400 |
commit | 4f4e44afb1f922ca16063ff2cbd2f0573847b54d (patch) | |
tree | 4f4670f79040ae25a4c98d4c89a634209a93f879 /Makefile | |
parent | f903439cbc504b9a7b676eb8a1c4e1d4c95a61fc (diff) |
Containerization
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
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) |