fix: reverted change of dockerfile entrypoint (#1435)

This commit is contained in:
Martin Chodur 2018-07-04 10:53:51 +02:00 committed by stuart nelson
parent 7d70fd9031
commit 2cd2bd3644
1 changed files with 3 additions and 2 deletions

View File

@ -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" ]