Using alpine-glibc-base base image

This commit is contained in:
kexkey
2019-05-14 16:13:08 -04:00
parent 5a31fc6c96
commit 8d36466da8
8 changed files with 80 additions and 221 deletions

23
proxy_docker/Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
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 ./
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"]