Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 487 Bytes

README.md

File metadata and controls

37 lines (31 loc) · 487 Bytes

dignore

dockerignore generator for monorepo.

Installation

go install github.com/orisano/dignore@latest

How to use

$ ls -1
serviceA
serviceB
serviceC
serviceD
serviceE

$ dignore -o - serviceA serviceB
serviceA/some_rules
serviceB/node_modules
serviceC
serviceD
serviceE

$ dignore serviceA serviceB
$ docker build -f serviceA/Dockerfile .

or

$ docker run orisano/dignore serviceA serviceB

Author

Nao Yonashiro (@orisano)

License

MIT