Dockerfile 299 B

123456789101112131415161718
  1. FROM node:8.11.2-stretch
  2. WORKDIR /src
  3. RUN apt-get update
  4. RUN apt-get install -y apt-transport-https ca-certificates
  5. RUN curl -o- -L https://yarnpkg.com/install.sh | bash
  6. RUN $HOME/.yarn/bin/yarn install
  7. # Install Deps
  8. COPY package.json .
  9. COPY yarn.lock .
  10. RUN yarn
  11. COPY . .
  12. ENTRYPOINT ["yarn"]