Dockerfile.dev 208 B

123456789101112
  1. FROM node:latest
  2. WORKDIR /usr/src/app/
  3. COPY package.json ./
  4. RUN npm install --silent --no-cache --registry=https://registry.npm.taobao.org
  5. COPY ./ ./
  6. RUN npm run fetch:blocks
  7. CMD ["npm", "run", "start"]