build(docker): move Markdownlint
Move Markdownlint into the main Dockerfile and a service to the Docker Compose override file.
This commit is contained in:
parent
9f510e4e23
commit
b0990f7edb
4 changed files with 21 additions and 16 deletions
12
Dockerfile
12
Dockerfile
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue