FROM debian:stretch ENV NETDATA_PORT 19999 EXPOSE $NETDATA_PORT VOLUME /override VOLUME /var/lib/netdata ENTRYPOINT ["/src/run.sh"] ADD . /src RUN /src/build.sh