1
0
Fork 0
docker-easy-haproxy/Dockerfile
2020-06-07 23:13:53 -05:00

17 lines
411 B
Docker

FROM haproxy:2.1-alpine
WORKDIR /scripts
RUN apk add --no-cache bash python3 py-yaml supervisor docker \
&& ln -s /usr/bin/python3 /usr/bin/python
COPY requirements.txt /scripts
RUN pip3 install --upgrade pip \
&& pip install -r requirements.txt
COPY templates /scripts/templates/
COPY easymapping /scripts/easymapping/
COPY assets /
CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisord.conf" ]