Commit 03832b0
authored
chore: Add Dockerfile.dev for local development (#8295)
Currently whenever we build the `Dockerfile` file for local development using kurtosis , it recompiles everything on my laptop, even if no changes are made. This takes about 120 seconds on my laptop (might be faster on others).
Conservatively, I created a new Dockerfile.dev, so that the original file is kept the same, even though its pretty similar.
This uses `--mount-type=cache` saving the target and registry folder across builds.
**Usage**
```sh
docker build -f Dockerfile.dev -t lighthouse:dev .
```
Co-Authored-By: Kevaundray Wedderburn <kevtheappdev@gmail.com>1 parent 0d0232e commit 03832b0
1 file changed
+25
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments