From e885757b0392ac0c60680695042ce4172845849b Mon Sep 17 00:00:00 2001 From: Moritz Poldrack Date: Tue, 7 Dec 2021 21:31:30 +0100 Subject: [PATCH] added previously missing Dockerfile --- .docker/Dockerfile | 5 +++++ Makefile | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .docker/Dockerfile diff --git a/.docker/Dockerfile b/.docker/Dockerfile new file mode 100644 index 0000000..9b88a65 --- /dev/null +++ b/.docker/Dockerfile @@ -0,0 +1,5 @@ +FROM scratch +COPY recter / +COPY data / +COPY themes / +CMD ["/recter"] diff --git a/Makefile b/Makefile index 47507f6..2b0cf1a 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ IMAGENAME=recter REPO=mpldr IMAGEFULLNAME=${REPO}/${IMAGENAME}:${VERSION} docker: - $(MAKE) build OUTFILE=.docker/recter GOTAGS="-tags docker" + $(MAKE) build OUTFILE=.docker/recter GOTAGS="-tags docker" CGO_ENABLED=0 mkdir -p .docker/data cp -rf themes/ .docker/ docker build -t ${IMAGEFULLNAME} .docker -- 2.45.2