16 lines
344 B
Docker
16 lines
344 B
Docker
|
FROM caddy:2-builder AS builder
|
||
|
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
|
||
|
|
||
|
RUN xcaddy build \
|
||
|
--with github.com/caddyserver/cache-handler
|
||
|
|
||
|
FROM caddy:2
|
||
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
||
|
|
||
|
# Default variables
|
||
|
ENV ODOO_SERVICE odoo
|
||
|
ENV ODOO_SERVER_NAMES odoo
|
||
|
|
||
|
# Configuration
|
||
|
COPY Caddyfile /etc/caddy/Caddyfile
|