From 6d52409934732704b4199db5557d839364e67810 Mon Sep 17 00:00:00 2001 From: simonpfeifhofer Date: Wed, 28 Jul 2021 17:12:51 +0200 Subject: [PATCH] fix: add --no-cache on docker build, exclude build-directory --- .dockerignore | 5 ++++- networks/local/Makefile | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index ff26fe61b0..dacc6297c5 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,5 @@ # localnet-setup -localnet-setup \ No newline at end of file +localnet-setup + +# build +build \ No newline at end of file diff --git a/networks/local/Makefile b/networks/local/Makefile index 5d767b8bdf..1ddf1fdc1f 100644 --- a/networks/local/Makefile +++ b/networks/local/Makefile @@ -1,4 +1,4 @@ all: - docker build --tag ethermintd/node ../.. -f ethermintnode/Dockerfile + docker build --no-cache --tag ethermintd/node ../.. -f ethermintnode/Dockerfile .PHONY: all