mirror of https://github.com/k3d-io/k3d
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
403 B
13 lines
403 B
5 years ago
|
FROM nginx:1.16.0-alpine
|
||
|
|
||
|
RUN apk -U --no-cache add curl ca-certificates\
|
||
|
&& mkdir -p /etc/confd \
|
||
|
&& curl -sLf https://github.com/kelseyhightower/confd/releases/download/v0.16.0/confd-0.16.0-linux-amd64 > /usr/bin/confd \
|
||
|
&& chmod +x /usr/bin/confd \
|
||
|
&& apk del curl
|
||
|
|
||
|
COPY templates /etc/confd/templates/
|
||
|
COPY conf.d /etc/confd/conf.d/
|
||
|
COPY nginx-proxy /usr/bin/
|
||
|
|
||
|
ENTRYPOINT nginx-proxy
|