-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile.fast
50 lines (47 loc) · 1.55 KB
/
Dockerfile.fast
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
FROM ubuntu:16.04
MAINTAINER Moe Adham <[email protected]>
# Install base dependencies
RUN apt-get update && apt-get install -y -q --no-install-recommends \
apt-transport-https \
build-essential \
ca-certificates \
curl \
git \
libssl-dev \
libudev-dev \
python \
rsync \
software-properties-common \
git-core \
wget \
libzmq3-dev \
vim \
&& rm -rf /var/lib/apt/lists/*
# Install parity
RUN wget https://releases.parity.io/v2.1.3/x86_64-unknown-linux-gnu/parity
RUN chmod +x parity
RUN mv parity /usr/bin/
# docker run --name=paritydata-fast -v /paritydata busybox chown 1000:1000 /paritydata
RUN mkdir /paritydata
EXPOSE 30305 8543 8544
ENTRYPOINT ["/usr/bin/parity", \
"--port", "30305", \
"--jsonrpc-port", "8543", \
"--ws-port", "8544", \
"--mode", "active", \
"-d", "/paritydata", \
"--pruning", "fast", \
"--scale-verifiers", \
"--no-ui", \
"--no-dapps", \
"--no-hardware-wallets", \
"--no-secretstore", \
"--no-secretstore-http", \
"--ws-apis", "web3,eth,pubsub,net,parity,parity_pubsub,traces,rpc,secretstore,shh,shh_pubsub", \
"--ws-origins", "all", \
"--ws-interface", "all", \
"--ws-hosts", "all", \
"--jsonrpc-hosts", "all", \
"--jsonrpc-interface", "all", \
"--jsonrpc-cors", "'*'", \
"--jsonrpc-apis", "safe" ]