2021-03-15 14:17:07 +01:00
|
|
|
FROM caddy:2.3.0-alpine
|
|
|
|
|
2022-01-07 21:12:51 +01:00
|
|
|
LABEL org.opencontainers.image.title="OpenSlides Proxy"
|
|
|
|
LABEL org.opencontainers.image.description="The proxy is the entrypoint for traffic going into an OpenSlides instance."
|
|
|
|
LABEL org.opencontainers.image.licenses="MIT"
|
|
|
|
LABEL org.opencontainers.image.source="https://github.com/OpenSlides/OpenSlides/tree/master/proxy"
|
|
|
|
|
2021-09-27 13:17:41 +02:00
|
|
|
RUN apk update && apk add --no-cache jq gettext
|
|
|
|
|
|
|
|
COPY caddy_base.json /caddy_base.json
|
2021-03-15 14:17:07 +01:00
|
|
|
COPY entrypoint /entrypoint
|
|
|
|
COPY certs /certs
|
|
|
|
|
|
|
|
ENTRYPOINT ["/entrypoint"]
|
2021-09-27 13:17:41 +02:00
|
|
|
CMD ["caddy", "run", "--config", "/etc/caddy/config.json"]
|