-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
26 lines (26 loc) · 1.16 KB
/
Dockerfile
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
FROM ubuntu:16.04
RUN apt-get update
RUN apt-get install -y libssl1.0.0 libssl-dev vim python3.5 python3-pip git psmisc
RUN pip3 install python-daemon
RUN ln -s /usr/bin/python3.5 /usr/bin/python
RUN mkdir -p /opt/data
RUN mkdir -p /opt/config
RUN mkdir -p /opt/contracts/eosio.bios
RUN mkdir -p /opt/contracts/eosio.system
RUN mkdir -p /opt/contracts/eosio.token
RUN mkdir /root/Eoasis
COPY bin/nodeos /usr/local/bin/nodeos
COPY bin/cleos /usr/local/bin/cleos
COPY bin/keosd /usr/local/bin/keosd
COPY contracts/eosio.bios/eosio.bios.wast /root/contracts/eosio.bios/eosio.bios.wast
COPY contracts/eosio.bios/eosio.bios.abi /root/contracts/eosio.bios/eosio.bios.abi
COPY contracts/eosio.system/eosio.system.wast /root/contracts/eosio.system/eosio.system.wast
COPY contracts/eosio.system/eosio.system.abi /root/contracts/eosio.system/eosio.system.abi
COPY contracts/eosio.token/eosio.token.wast /root/contracts/eosio.token/eosio.token.wast
COPY contracts/eosio.token/eosio.token.abi /root/contracts/eosio.token/eosio.token.abi
#RUN git clone https://github.com/yankunsam/Eoasis.git /root/Eoasis
COPY . /root/Eoasis/
EXPOSE 8888
EXPOSE 8889
EXPOSE 9876
ENTRYPOINT ["tail", "-f", "/dev/null"]