Dockerfile 161 B

12345678910
  1. FROM node:8
  2. ENV NODE_ENV dev
  3. RUN mkdir /cpr
  4. COPY ./ /cpr/
  5. RUN rm -rRf /cpr/node_modules
  6. RUN cd /cpr && npm install
  7. WORKDIR /cpr
  8. ENTRYPOINT cd /cpr && npm test