melpomene/eslint/Dockerfile

12 lines
298 B
Docker
Raw Permalink Normal View History

2023-06-04 16:42:49 +02:00
FROM debian:latest
RUN apt-get update && apt-get install -y --no-install-recommends npm
RUN npm install eslint --global
COPY eslintrc.json /eslintrc.json
WORKDIR melpomene
2023-06-04 16:42:49 +02:00
CMD ["eslint", "--no-eslintrc", "-c", "eslint/eslintrc.json", "-f", "html", "-o", "eslint_report.html", "melpomene.js"]