collection.dockerfile/alpine/haproxy/Dockerfile

7 lines
209 B
Docker

FROM alpine:latest
ENV container docker
RUN apk update; apk upgrade; apk add haproxy
COPY haproxy.cfg /etc/haproxy/haproxy.cfg
EXPOSE 41080
CMD [ "/usr/sbin/haproxy", "-f", "/etc/haproxy/haproxy.cfg", "-db" ]