Dockerfile 262 B

12345678910
  1. FROM node:lts
  2. WORKDIR /work
  3. ADD package.json .
  4. RUN npm install --production
  5. ADD check-some-are-unignored.sh .
  6. ADD check-vcs-changes.sh .
  7. ADD ignore-check.js .
  8. RUN sed -i -e 's/[\r]//g' ./check-*.sh
  9. RUN chmod +x ./check-*.sh
  10. ENTRYPOINT /work/check-vcs-changes.sh