This is a build of https://github.com/mholt/caddy, available at https://hub.docker.com/r/brownjohnf/caddy/
- Create a Dockerfile inheriting from this image (published at brownjohnf/caddy)
- COPY a Caddyfile into /var/lib/caddy/Caddyfile in the new image
- Expose whatever ports you require in addition to the defaults
- Build and run your new image!
Or, you can just run brownjohnf/caddy and bind-mount in a Caddyfile.