4d02165f1f
switch from caddy file to native json
11 lines
245 B
Docker
11 lines
245 B
Docker
FROM caddy:2.3.0-alpine
|
|
|
|
RUN apk update && apk add --no-cache jq gettext
|
|
|
|
COPY caddy_base.json /caddy_base.json
|
|
COPY entrypoint /entrypoint
|
|
COPY certs /certs
|
|
|
|
ENTRYPOINT ["/entrypoint"]
|
|
CMD ["caddy", "run", "--config", "/etc/caddy/config.json"]
|