Added wait-for-it to wait for DB for laravel

This commit is contained in:
Deon George
2020-05-07 21:29:21 +10:00
parent 90ed5a1da6
commit 81b970b53b
2 changed files with 12 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
FROM php:7.3-fpm
RUN apt-get update && apt-get install -y openssh-server unzip git msmtp nginx \
RUN apt-get update && apt-get install -y openssh-server unzip git msmtp nginx wait-for-it \
&& rm /etc/nginx/sites-enabled/default \
&& apt-get -y autoremove \
&& apt-get clean \