mirror of
https://github.com/DoTheEvo/selfhosted-apps-docker.git
synced 2026-07-03 14:06:40 +02:00
update
This commit is contained in:
+6
-2
@@ -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<br>
|
||||
|
||||
Reference in New Issue
Block a user