From d8c3e5c2d81dde4c1b25108af28aa250a3f60794 Mon Sep 17 00:00:00 2001 From: Maxime Deraspe Date: Wed, 5 Feb 2020 15:51:06 -0500 Subject: [PATCH] fix docker build --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0893284..d5386cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,8 @@ COPY . . RUN go install -v ./... RUN cd web \ - && test -d node_modules && rm -fr node_modules \ + && rm -fr node_modules \ + && rm -fr public/* \ && npm install \ && npm install -g gatsby \ && gatsby build --prefix-paths