Dockerfile 196 B

12345678910111213
  1. FROM node:9.2.0
  2. RUN curl -o- -L https://yarnpkg.com/install.sh | bash
  3. WORKDIR /usr/src/app
  4. COPY . .
  5. RUN yarn install --production
  6. RUN yarn build
  7. ENTRYPOINT [ "node", "server.js" ]
  8. EXPOSE 3000