FROM debian:bullseye-slim ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y \ haproxy \ && rm -rf /var/lib/apt/lists/* COPY haproxy.cfg /etc/haproxy/haproxy.cfg EXPOSE 7860 CMD ["haproxy", "-f", "/etc/haproxy/haproxy.cfg", "-db"]