diff --git a/Dockerfile b/Dockerfile index 1ec174c..25aca9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,5 +33,6 @@ ENV ALLOW_RESTARTS=0 \ VOLUMES=0 COPY docker-entrypoint.sh /usr/local/bin/ COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg.template +RUN touch /var/lib/haproxy/server-state USER root CMD ["haproxy", "-f", "/tmp/haproxy.cfg"]