mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-15 19:56:11 +00:00
Added dockerfiles for applications
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user