Dockerfile 211 B

123456789101112
  1. FROM 10.10.100.200:5000/node-yarn:8.10-alpine
  2. RUN mkdir -p /app
  3. COPY . /app
  4. WORKDIR /app
  5. RUN npm install -g node-gyp
  6. RUN yarn && npm run build
  7. # Use the dev base url by default
  8. CMD [ "npm", "run", "start" ]