aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/kubernetes/Dockerfile
blob: 3a30ebd1313c84c21f868b189ed7d8058b7d72a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM golang:alpine
MAINTAINER Wei-Ning Huang <w@dexon.org>

# Cobinhood vendor base directory.
RUN mkdir -p /opt/dexon/

# Copy data.
COPY build/dexcon-simulation /opt/dexon
COPY build/dexcon-simulation-peer-server /opt/dexon
COPY build/dexcon-simulation-with-scheduler /opt/dexon
COPY entrypoint.sh /opt/dexon
COPY config.toml /opt/dexon

WORKDIR /opt/dexon

ENTRYPOINT ["./entrypoint.sh"]