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