-
Notifications
You must be signed in to change notification settings - Fork 205
/
Dockerfile
23 lines (19 loc) · 726 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ubuntu:18.04
# Define arguments
ARG beam=beam-node-masternet.tar.gz
# Install.
RUN \
apt-get -y update && \
mkdir -p /home/beam/node/ && \
apt-get -y install wget && \
wget -P /home/beam/node/ https://builds.beam.mw/master/latest/Release/linux/$beam && \
cd /home/beam/node/ && tar -xvf $beam && rm -rf $beam && \
apt-get purge wget -y && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*
# Define volume & working directory.
WORKDIR /home/beam/node/
VOLUME /home/beam/node/
# Define default command.
EXPOSE 10000
CMD ["./beam-node-masternet", "--peer=eu-node01.masternet.beam.mw:8100,eu-node02.masternet.beam.mw:8100,eu-node04.masternet.beam.mw:8100,eu-node04.masternet.beam.mw:8100"]