move non-essential options to CMD, add LABELS
This commit is contained in:
parent
010ea3b013
commit
31c85bfd94
10
Dockerfile
10
Dockerfile
|
@ -9,17 +9,14 @@ RUN wget https://github.com/web3j/web3j/releases/download/v2.3.0/web3j-2.3.0.tar
|
|||
RUN tar -xf web3j-2.3.0.tar
|
||||
RUN cp -r web3j-2.3.0/* /usr/local/
|
||||
|
||||
|
||||
COPY . /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
ENV LEIN_SNAPSHOTS_IN_RELEASE=1
|
||||
|
||||
|
||||
RUN lein less once
|
||||
RUN lein uberjar
|
||||
|
||||
|
||||
FROM clojure
|
||||
WORKDIR /root/
|
||||
|
||||
|
@ -31,6 +28,9 @@ RUN apt-get -y install less
|
|||
COPY --from=builder /usr/src/app/target/uberjar/commiteth.jar .
|
||||
COPY html2png.sh .
|
||||
|
||||
CMD [""]
|
||||
ENTRYPOINT ["/usr/bin/java", "-Duser.timezone=UTC", "-Dconf=config-test.edn", "-jar", "/root/commiteth.jar"]
|
||||
LABEL source="https://github.com/status-im/open-bounty"
|
||||
LABEL description="Allows you to set bounties for GitHub issues, paid out in Ether or any ERC-20 token."
|
||||
LABEL maintainer="rob@status.im"
|
||||
|
||||
CMD ["-Duser.timezone=UTC", "-Dconf=config-test.edn"]
|
||||
ENTRYPOINT ["/usr/bin/java", "-jar", "/root/commiteth.jar"]
|
||||
|
|
Loading…
Reference in New Issue