Created
August 17, 2019 12:40
-
-
Save rhoboro/c9351dbd973a9cbd0a70e7585f46ec72 to your computer and use it in GitHub Desktop.
Dockerfile for textlint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 下記を参考にして作成したtextlint | |
# https://efcl.info/2015/09/10/introduce-textlint/ | |
# docker run -it --rm -v $(pwd):/tmp -w /tmp textlint:0.1 *.md | |
FROM node:8-jessie | |
RUN npm i -g textlint | |
RUN npm i -g textlint-rule-max-ten textlint-rule-spellcheck-tech-word textlint-rule-no-mix-dearu-desumasu | |
ENTRYPOINT ["textlint", "--rule", "no-mix-dearu-desumasu", "--rule", "max-ten", "--rule", "spellcheck-tech-word"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment