mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-31 10:14:35 +01:00
27 lines
642 B
Docker
27 lines
642 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.0-test /usr/local/bin/lightning-cli ./
|
|
# COPY --from=eclipse-mosquitto:1.6 /usr/bin/mosquitto_sub ./
|
|
# COPY --from=eclipse-mosquitto:1.6 /usr/bin/mosquitto_pub ./
|
|
COPY --from=eclipse-mosquitto:1.6 /usr/bin/mosquitto_rr ./
|
|
|
|
RUN chmod +x startproxy.sh requesthandler.sh lightning-cli sqlmigrate*.sh waitanyinvoice.sh \
|
|
&& chmod o+w . \
|
|
&& mkdir db
|
|
|
|
VOLUME ["${HOME}/db", "/.lightning"]
|
|
|
|
ENTRYPOINT ["su-exec"]
|