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.

14 lines
351 B

  1. FROM busybox
  2. #Use --build-arg to change where the basecoin binary resides
  3. ARG BASECOIN_BINARY=basecoin
  4. ENV BCHOME /basecoin
  5. COPY $BASECOIN_BINARY /usr/bin/basecoin
  6. RUN adduser -h $BCHOME -D basecoin
  7. VOLUME [ $BCHOME ]
  8. EXPOSE 46658
  9. USER basecoin
  10. ENTRYPOINT ["/usr/bin/basecoin"]
  11. CMD ["start","--without-tendermint"]
  12. WORKDIR $BCHOME
  13. STOPSIGNAL SIGTERM