Skip to content

Commit

Permalink
Add restarting of Light Client to Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
luka-ethernal committed Dec 22, 2023
1 parent a9aa139 commit f356a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ COPY --from=builder /app/config.yaml /app/config.yaml
COPY --from=builder /app/avail-light /usr/local/bin

EXPOSE 80 443 7001 37000
CMD ["/usr/local/bin/avail-light", "-c", "/app/config.yaml"]
CMD ["/bin/bash", "-c", "while true; do /usr/local/bin/avail-light -c /app/config.yaml; sleep 20; done"]

0 comments on commit f356a7c

Please sign in to comment.