This commit is contained in:
mahdavi 2022-09-03 04:40:41 +04:30
parent f1395b44ce
commit 9d263fc2d7
2 changed files with 1 additions and 1 deletions

View file

@ -13,3 +13,4 @@ RUN apt install netcat -y
RUN apt update
RUN pwd
COPY . /app
ENTRYPOINT ["./run.sh"]

View file

@ -1,5 +1,4 @@
#!/usr/bin/env bash
while ! nc -z $DB_HOST 3306 ; do
echo "Waiting for the MySQL Server"
sleep 3