mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-30 01:02:13 +00:00
16 lines
408 B
Docker
16 lines
408 B
Docker
FROM busybox
|
|
#Use --build-arg to change where the ethermint binary and setup directory resides
|
|
ARG ETHERMINT_BINARY=ethermint
|
|
ARG SETUP_DIR=setup
|
|
ENV EMHOME /ethermint
|
|
COPY $ETHERMINT_BINARY /usr/bin/ethermint
|
|
COPY $SETUP_DIR /setup
|
|
RUN adduser -h $EMHOME -D ethermint
|
|
VOLUME [ $EMHOME ]
|
|
EXPOSE 46658
|
|
USER ethermint
|
|
ENTRYPOINT ["/usr/bin/ethermint","--datadir","$EMHOME"]
|
|
WORKDIR $EMHOME
|
|
STOPSIGNAL SIGTERM
|
|
|