mirror of https://github.com/hyperledger/besu
An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
409 B
17 lines
409 B
6 years ago
|
FROM openjdk:8-jdk as builder
|
||
|
COPY . /tmp/pantheon
|
||
|
WORKDIR /tmp/pantheon
|
||
|
RUN ./gradlew installDist -x test
|
||
|
|
||
|
FROM openjdk:8-jre
|
||
|
|
||
|
# copy application (with libraries inside)
|
||
|
COPY quickstart/pantheon/*_start.sh /opt/pantheon/
|
||
|
COPY --from=builder /tmp/pantheon/build/install/pantheon /opt/pantheon/
|
||
|
|
||
|
# List Exposed Ports
|
||
|
EXPOSE 8546 8545 30303
|
||
|
|
||
|
# specify default command
|
||
|
ENTRYPOINT ["/opt/pantheon/node_start.sh"]
|