update dockerfile to sentinel for niko

This commit is contained in:
Mark Beamer Jr 2021-03-06 11:07:57 -05:00
parent 417f78803c
commit bc0a1db6a4
No known key found for this signature in database
GPG key ID: 1C314FB89AD76973

View file

@ -1,4 +1,4 @@
## Chain Watcher ## Sentinel
FROM ubuntu:18.04 FROM ubuntu:18.04
LABEL MAINTAINER="beamer" LABEL MAINTAINER="beamer"
@ -11,9 +11,9 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
WORKDIR /usr/bin WORKDIR /usr/bin
SHELL ["/bin/bash", "-o", "pipefail", "-c"] SHELL ["/bin/bash", "-o", "pipefail", "-c"]
COPY ./bin/watcher watcher COPY ./bin/sentinel sentinel
RUN chmod +x ./watcher RUN chmod +x ./sentinel
EXPOSE 6060 EXPOSE 6060
STOPSIGNAL SIGINT STOPSIGNAL SIGINT
CMD ./watcher CMD ./sentinel