Skip to content

Commit

Permalink
docker: fix dockerhub config
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Sep 3, 2019
1 parent d4ccdc7 commit 324377d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ COPY ./ ./

RUN npm run test:all

RUN npm run fetch:blocks

CMD ["npm", "run", "build"]
1 change: 1 addition & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 2 additions & 0 deletions Dockerfile.hub
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ COPY ./ ./

RUN npm run test:all

RUN npm run fetch:blocks

RUN npm run build


Expand Down

0 comments on commit 324377d

Please sign in to comment.