FROM node:lts
LABEL FIELDPOP <janco@tenacious.digital>

ADD . /build/happner-elastic-proxy
#RUN mkdir build && cd build && git clone https://github.com/happner/happner-elastic-proxy.git
RUN cd /build/happner-elastic-proxy && npm i
WORKDIR /build/happner-elastic-proxy
CMD ["node", "./service/start", "proxy"]
