openethereum/scripts/docker/centos/Dockerfile
Artem Vorotnikov 4f26ffd447
Fix project name, links, rename the binaries (#11580)
* Fix project name, links, rename binary

* Update util/version/Cargo.toml

Co-Authored-By: David <dvdplm@gmail.com>

* Update updater/Cargo.toml

Co-Authored-By: David <dvdplm@gmail.com>

* Update util/version/Cargo.toml

Co-Authored-By: David <dvdplm@gmail.com>

Co-authored-by: David <dvdplm@gmail.com>
2020-03-25 17:16:51 +01:00

24 lines
609 B
Docker

FROM centos:latest
RUN mkdir -p /opt/openethereum/data && \
chmod g+rwX /opt/openethereum/data && \
mkdir -p /opt/openethereum/release
COPY openethereum/openethereum /opt/openethereum/release
WORKDIR /opt/openethereum/data
# exposing default ports
#
# secret
# store ui rpc ws listener discovery
# ↓ ↓ ↓ ↓ ↓ ↓
EXPOSE 8082 8083 8180 8545 8546 30303/tcp 30303/udp
# switch to non-root user
USER 1001
#if no base path provided, assume it's current workdir
CMD ["--base-path","."]
ENTRYPOINT ["/opt/openethereum/release/openethereum"]