From 5cd21aa26581553810f06dba9a5038153affe5d2 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 31 Dec 2023 22:08:20 +0200 Subject: more on this --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..08c3b42 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +build: + docker build -t radicale . +run: + if [ ! -d collections ]; then mkdir collections; fi + if [ ! -d auth ]; then mkdir auth; fi + cp -v htpasswd-test auth/htpasswd + sh -c 'docker rm radicale; exit 0' + docker run \ + -v collections:/collections \ + -v auth:/auth \ + -p 5232:5232 \ + --name radicale radicale +br: build run -- cgit v1.2.3