Skip to content

Commit

Permalink
Use tini as entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
rblaine95 authored Jul 24, 2021
1 parent 88134f9 commit c24689d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ FROM ghcr.io/rblaine95/debian:10-slim

RUN apt-get update && \
apt-get dist-upgrade -y && \
apt-get install -y tini && \
apt-get clean && \
apt-get autoremove -y && \
rm -rf /var/lib/apt && \
Expand All @@ -39,4 +40,4 @@ WORKDIR /home/dot
EXPOSE 30333 9933 9944
VOLUME /data

ENTRYPOINT [ "/usr/local/bin/polkadot" ]
ENTRYPOINT [ "tini", "--", "/usr/local/bin/polkadot" ]

0 comments on commit c24689d

Please sign in to comment.