From e7f84872c513698b97fe7c760b0b5c1b6a3e77f6 Mon Sep 17 00:00:00 2001 From: DoTheEvo Date: Mon, 23 Sep 2024 14:37:42 +0200 Subject: [PATCH] update --- caddy_v2/readme.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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