From 0a6a638c7aed2b4d71781a57dd4fac85eb721d70 Mon Sep 17 00:00:00 2001 From: Nikolay Yushkevich Date: Thu, 18 Oct 2018 17:27:51 +0300 Subject: [PATCH] Copy postgres healthcheck file to docker container (#1774) * Copy postgres healthcheck file to docker container Signed-off-by: neewy * fix comments Signed-off-by: Artyom Bakhtin --- docker/release/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/release/Dockerfile b/docker/release/Dockerfile index c07120cb32..a3acb77603 100644 --- a/docker/release/Dockerfile +++ b/docker/release/Dockerfile @@ -10,6 +10,7 @@ RUN apt-get install -y /tmp/iroha.deb; \ WORKDIR /opt/iroha_data -COPY entrypoint.sh /entrypoint.sh +COPY entrypoint.sh wait-for-it.sh / +RUN chmod +x /entrypoint.sh /wait-for-it.sh ENTRYPOINT ["/entrypoint.sh"] CMD ["/sbin/init"]