From 324377dbefac6278c66506daa86ab7ca92567f69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Tue, 3 Sep 2019 12:41:57 +0800 Subject: [PATCH] docker: fix dockerhub config --- Dockerfile | 2 ++ Dockerfile.dev | 1 + Dockerfile.hub | 2 ++ 3 files changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7cbc5c31..35380f48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,6 @@ COPY ./ ./ RUN npm run test:all +RUN npm run fetch:blocks + CMD ["npm", "run", "build"] diff --git a/Dockerfile.dev b/Dockerfile.dev index 96fddc25..b2c3d258 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -7,5 +7,6 @@ RUN npm install --silent --no-cache --registry=https://registry.npm.taobao.org COPY ./ ./ +RUN npm run fetch:blocks CMD ["npm", "run", "start"] diff --git a/Dockerfile.hub b/Dockerfile.hub index 43d89815..58bbcbc7 100644 --- a/Dockerfile.hub +++ b/Dockerfile.hub @@ -9,6 +9,8 @@ COPY ./ ./ RUN npm run test:all +RUN npm run fetch:blocks + RUN npm run build