run.sh
This commit is contained in:
parent
f1395b44ce
commit
9d263fc2d7
2 changed files with 1 additions and 1 deletions
|
|
@ -13,3 +13,4 @@ RUN apt install netcat -y
|
||||||
RUN apt update
|
RUN apt update
|
||||||
RUN pwd
|
RUN pwd
|
||||||
COPY . /app
|
COPY . /app
|
||||||
|
ENTRYPOINT ["./run.sh"]
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
while ! nc -z $DB_HOST 3306 ; do
|
while ! nc -z $DB_HOST 3306 ; do
|
||||||
echo "Waiting for the MySQL Server"
|
echo "Waiting for the MySQL Server"
|
||||||
sleep 3
|
sleep 3
|
||||||
Loading…
Add table
Reference in a new issue