2022-06-16 14:00:12 +02:00
|
|
|
FROM caddy:2.5.1-alpine
|
2021-03-15 14:17:07 +01:00
|
|
|
|
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"
|
2022-01-10 17:46:40 +01:00
|
|
|
LABEL org.opencontainers.image.source="https://github.com/OpenSlides/OpenSlides/tree/main/proxy"
|
2022-01-07 21:12:51 +01:00
|
|
|
|
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"]
|