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.

15 lines
408 B

  1. FROM busybox
  2. #Use --build-arg to change where the ethermint binary and setup directory resides
  3. ARG ETHERMINT_BINARY=ethermint
  4. ARG SETUP_DIR=setup
  5. ENV EMHOME /ethermint
  6. COPY $ETHERMINT_BINARY /usr/bin/ethermint
  7. COPY $SETUP_DIR /setup
  8. RUN adduser -h $EMHOME -D ethermint
  9. VOLUME [ $EMHOME ]
  10. EXPOSE 46658
  11. USER ethermint
  12. ENTRYPOINT ["/usr/bin/ethermint","--datadir","$EMHOME"]
  13. WORKDIR $EMHOME
  14. STOPSIGNAL SIGTERM