Skip to content

Commit

Permalink
Add tini to Entrypoint
Browse files Browse the repository at this point in the history
* [Why Tini](krallin/tini#8)
  • Loading branch information
rblaine95 committed Jul 20, 2021
1 parent 3552918 commit 787e6b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ENV PATH=/opt/monero:${PATH}

RUN apt-get update && \
apt-get dist-upgrade -y && \
apt-get install -y ca-certificates libkrb5-dev && \
apt-get install -y tini ca-certificates libkrb5-dev && \
apt-get clean && \
apt-get autoremove -y && \
rm -rf /var/lib/apt && \
Expand All @@ -52,4 +52,4 @@ WORKDIR /home/monero
VOLUME /opt/bitmonero
EXPOSE 18080 18081

ENTRYPOINT ["/opt/monero/monerod"]
ENTRYPOINT ["tini", "--" ,"/opt/monero/monerod"]

0 comments on commit 787e6b3

Please sign in to comment.