-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
48 lines (41 loc) · 779 Bytes
/
Dockerfile
File metadata and controls
48 lines (41 loc) · 779 Bytes
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
FROM ubuntu:xenial
MAINTAINER Tsiry Sandratraina
RUN apt-get update -y
RUN apt-get install -y curl
WORKDIR /tmp
RUN curl https://get.parity.io -Lk > get-parity.sh
RUN sed -i "s/setup_0.12/setup_6.x/g" get-parity.sh
RUN chmod a+x get-parity.sh
RUN ./get-parity.sh
RUN apt-get install nginx -y
ADD . /opt
EXPOSE 8540
EXPOSE 8541
EXPOSE 8542
EXPOSE 8543
EXPOSE 30300
EXPOSE 8180
EXPOSE 8080
EXPOSE 8181
EXPOSE 8081
EXPOSE 8182
EXPOSE 8082
EXPOSE 8183
EXPOSE 8083
EXPOSE 8184
EXPOSE 8084
EXPOSE 8185
EXPOSE 8085
EXPOSE 8186
EXPOSE 8086
EXPOSE 8187
EXPOSE 8087
EXPOSE 8188
EXPOSE 8088
EXPOSE 8189
EXPOSE 8089
COPY nginx-config/parity.ui /etc/nginx/sites-enabled/
WORKDIR /opt
RUN chmod a+x start-nginx.sh
RUN chmod a+x start-parity.sh
CMD ./start-nginx.sh && ./start-parity.sh