From 2cd2bd3644036dc7a29184f8ce41425658a88abb Mon Sep 17 00:00:00 2001 From: Martin Chodur Date: Wed, 4 Jul 2018 10:53:51 +0200 Subject: [PATCH] fix: reverted change of dockerfile entrypoint (#1435) --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ee208723..87358558 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ COPY examples/ha/alertmanager.yml /etc/alertmanager/alertmanager.yml EXPOSE 9093 VOLUME [ "/alertmanager" ] -WORKDIR /etc/alertmanager +WORKDIR /alertmanager ENTRYPOINT [ "/bin/alertmanager" ] -CMD [ "--storage.path=/alertmanager" ] +CMD [ "--config.file=/etc/alertmanager/alertmanager.yml", \ + "--storage.path=/alertmanager" ]