Files
cyphernode/proxy_docker/Dockerfile
kexkey a27f671f18 Releases/v0.2.2 (#114)
* v0.2.2-rc.1

* bump other versions too...

* v0.2.2-rc.2

* v0.2.2 final release
2019-07-23 15:19:31 -04:00

26 lines
640 B
Docker

FROM cyphernode/alpine-glibc-base:3.8
ENV HOME /proxy
RUN apk add --update --no-cache \
sqlite \
jq \
curl \
su-exec
WORKDIR ${HOME}
COPY app/data/* ./
COPY app/script/* ./
COPY --from=cyphernode/clightning:v0.7.1 /usr/local/bin/lightning-cli ./
COPY --from=eclipse-mosquitto:1.6 /usr/bin/mosquitto_rr /usr/bin/mosquitto_sub /usr/bin/mosquitto_pub /usr/bin/
COPY --from=eclipse-mosquitto:1.6 /usr/lib/libmosquitto* /usr/lib/
RUN chmod +x startproxy.sh requesthandler.sh lightning-cli sqlmigrate*.sh waitanyinvoice.sh tests* \
&& chmod o+w . \
&& mkdir db
VOLUME ["${HOME}/db", "/.lightning"]
ENTRYPOINT ["su-exec"]