# dprint-plugin-dockerfile
[](https://crates.io/crates/dprint-plugin-dockerfile) [](https://github.com/dprint/dprint-plugin-dockerfile/actions?query=workflow%3ACI)
Dockerfile code formatter plugin for [dprint](https://dprint.dev).
## Install
[Install](https://dprint.dev/install/) and [setup](https://dprint.dev/setup/) dprint.
Then in your project's directory with a dprint.json file, run:
```shellsession
dprint add dockerfile
# or install from npm
dprint add npm:@dprint/dockerfile
```
See https://dprint.dev/plugins/dockerfile/ for more information.