1
0
Fork 0
docker-easy-haproxy/Dockerfile
Joao Gilberto Magalhaes b196905320 Directory restructuration
2019-07-17 00:14:58 -05:00

20 lines
No EOL
464 B
Docker

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