Skip to content

Instantly share code, notes, and snippets.

@rhoboro
Created Aug 17, 2019
Embed
What would you like to do?
Dockerfile for textlint
# 下記を参考にして作成した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