forked from OriginTrail/kadence
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.dev
20 lines (20 loc) · 855 Bytes
/
Dockerfile.dev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM debian:buster
LABEL maintainer "[email protected]"
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get -yq upgrade
RUN DEBIAN_FRONTEND=noninteractive apt-get -yq install wget apt-transport-https gnupg curl libssl-dev git python build-essential tor
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs
ENV GRANAX_USE_SYSTEM_TOR="1"
RUN git clone https://gitlab.com/deadcanaries/kadence /root/kadence; \
cd /root/kadence && npm install --unsafe-perm --production
VOLUME ["/root/.config/kadence"]
EXPOSE 5274
EXPOSE 5275
ENV kadence_NodeListenAddress="0.0.0.0"
ENV kadence_ControlSockEnabled="0"
ENV kadence_ControlPortEnabled="1"
ENV kadence_TestNetworkEnabled="1"
ENV kadence_DaemonPidFilePath="/tmp/kadence.pid"
ENTRYPOINT ["/root/kadence/bin/kadence.js"]
CMD []