no-cache and pull to artifact build make #994

This commit is contained in:
Umputun
2021-05-10 19:22:56 -05:00
parent 52fbac904e
commit 470956bbc8
+1 -1
View File
@@ -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