Added dockerfiles for applications

This commit is contained in:
Greg Szabo
2017-07-04 16:23:51 +00:00
parent e7a96b469a
commit db4bba72a2
5 changed files with 138 additions and 32 deletions
+14
View File
@@ -0,0 +1,14 @@
FROM busybox
#Use --build-arg to change where the basecoin binary resides
ARG BASECOIN_BINARY=basecoin
ENV BCHOME /basecoin
COPY $BASECOIN_BINARY /usr/bin/basecoin
RUN adduser -h $BCHOME -D basecoin
VOLUME [ $BCHOME ]
EXPOSE 46658
USER basecoin
ENTRYPOINT ["/usr/bin/basecoin"]
CMD ["start","--without-tendermint"]
WORKDIR $BCHOME
STOPSIGNAL SIGTERM