From 470956bbc8387146a0bfd0ccaa0d028f9a58c60e Mon Sep 17 00:00:00 2001 From: Umputun Date: Mon, 10 May 2021 19:22:56 -0500 Subject: [PATCH] no-cache and pull to artifact build make #994 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c099dff7..eb28ec0e 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ docker: docker build -t umputun/remark42 --build-arg SKIP_FRONTEND_TEST=true --build-arg SKIP_BACKEND_TEST=true . release: - docker build -f Dockerfile.artifacts -t remark42.bin . + docker build -f Dockerfile.artifacts --no-cache --pull -t remark42.bin . - @docker rm -f remark42.bin 2>/dev/null || exit 0 - @mkdir -p bin docker run -d --name=remark42.bin remark42.bin