FROM nginx:1.13.6-alpine RUN apk add --update curl ca-certificates \ && curl -L -o /usr/bin/confd https://github.com/kelseyhightower/confd/releases/download/v0.12.0-alpha3/confd-0.12.0-alpha3-linux-amd64 \ && chmod +x /usr/bin/confd \ && mkdir -p /etc/confd ADD templates /etc/confd/templates/ ADD conf.d /etc/confd/conf.d/ ADD entrypoint.sh / ENTRYPOINT ["/entrypoint.sh"]