mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-05 22:15:54 +01:00
Using alpine-glibc-base base image
This commit is contained in:
23
proxy_docker/Dockerfile
Normal file
23
proxy_docker/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user