build(docker): move Markdownlint

Move Markdownlint into the main Dockerfile and a service to the Docker
Compose override file.
This commit is contained in:
Oliver Davies 2022-01-12 22:14:33 +00:00
parent 9f510e4e23
commit b0990f7edb
4 changed files with 21 additions and 16 deletions

View file

@ -1,3 +1,15 @@
FROM node:14-alpine AS markdownlint
RUN npm install -g markdownlint-cli
USER node
ENTRYPOINT ["markdownlint"]
CMD ["/data"]
###
FROM node:14-alpine AS assets
ARG NODE_ENV="production"