diff --git a/caddy_v2/readme.md b/caddy_v2/readme.md index f7c9675..d08369e 100644 --- a/caddy_v2/readme.md +++ b/caddy_v2/readme.md @@ -639,16 +639,20 @@ Inside create a file named `Dockerfile`. `Dockerfile` ```Dockerfile -FROM caddy:2.6.2-builder AS builder +FROM caddy:2.8.4-builder AS builder RUN xcaddy build \ --with github.com/caddy-dns/cloudflare -FROM caddy:2.6.2 +FROM caddy:2.8.4 COPY --from=builder /usr/bin/caddy /usr/bin/caddy ``` +of note - if making changes in the Dockerfile after running, +use command `docker compose down --rmi local` +to remove localy built containers and force rebuild on the next compose up. + ### - Edit docker-compose.yml `image` replaced with `build` option pointing at the `Dockerfile` location