1
0
Fork 0

Starting the Discovery Script

This commit is contained in:
Joao Gilberto Magalhaes 2019-07-11 01:21:03 -05:00
parent 7f6f30b6f9
commit d3687d7632
6 changed files with 126 additions and 34 deletions

View file

@ -5,6 +5,8 @@ RUN apk add --no-cache bash python3 py-yaml
COPY entrypoint.* /
COPY conf.d /etc/haproxy/conf.d
COPY assets/errors-custom/* /etc/haproxy/errors-custom/
RUN pip install --upgrade pip \
&& pip install -r requirements.txt
ENTRYPOINT [ "/entrypoint.sh" ]
CMD ["haproxy", "-f", "/etc/haproxy/haproxy.cfg"]