HaProxyTor / Dockerfile
keungliang's picture
Update Dockerfile
9b708c2 verified
Raw
History Blame
269 Bytes
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"]