Browse Source

docker: fix dockerhub config

pull/5224/head
陈帅 7 years ago
parent
commit
324377dbef
  1. 2
      Dockerfile
  2. 1
      Dockerfile.dev
  3. 2
      Dockerfile.hub

2
Dockerfile

@ -9,4 +9,6 @@ COPY ./ ./
RUN npm run test:all
RUN npm run fetch:blocks
CMD ["npm", "run", "build"]

1
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"]

2
Dockerfile.hub

@ -9,6 +9,8 @@ COPY ./ ./
RUN npm run test:all
RUN npm run fetch:blocks
RUN npm run build

Loading…
Cancel
Save