19 lines
458 B
Docker
19 lines
458 B
Docker
## Chain Watcher
|
|
FROM ubuntu:18.04
|
|
LABEL MAINTAINER="beamer"
|
|
|
|
RUN export DEBIAN_FRONTEND=noninteractive && \
|
|
apt-get update && \
|
|
apt-get -yq install apt-utils tzdata wait-for-it ca-certificates && \
|
|
apt-get autoclean -y && \
|
|
update-ca-certificates && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /usr/bin
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
COPY ./bin/watcher watcher
|
|
RUN chmod +x ./watcher
|
|
|
|
EXPOSE 6060
|
|
STOPSIGNAL SIGINT
|
|
CMD ./watcher
|