Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 415 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 415 Bytes

dprint-docker

Dockerized dprint, with support for java (maybe more later)

building image

docker -t dprint .

running image

You will need to mount the source code that you're formatting to the container. It's easier to mount it to a subdirectory of the image's workdir, /app.

docker run --rm -it -v $(pwd)/src:/app/src dprint check