|
|
@ -3,11 +3,8 @@ MAINTAINER Greg Szabo <greg@tendermint.com> |
|
|
|
|
|
|
|
RUN apk update && \ |
|
|
|
apk upgrade && \ |
|
|
|
apk --no-cache add curl jq file && \ |
|
|
|
addgroup tmuser && \ |
|
|
|
adduser -S -G tmuser tmuser -h /tendermint |
|
|
|
apk --no-cache add curl jq file |
|
|
|
|
|
|
|
USER tmuser |
|
|
|
VOLUME [ /tendermint ] |
|
|
|
WORKDIR /tendermint |
|
|
|
EXPOSE 46656 46657 |
|
|
@ -15,5 +12,5 @@ ENTRYPOINT ["/usr/bin/wrapper.sh"] |
|
|
|
CMD ["node", "--proxy_app dummy"] |
|
|
|
STOPSIGNAL SIGTERM |
|
|
|
|
|
|
|
COPY --chown=tmuser:tmuser wrapper.sh /usr/bin/wrapper.sh |
|
|
|
COPY wrapper.sh /usr/bin/wrapper.sh |
|
|
|
|