Make app container wait for DB
This commit is contained in:
parent
f08b986e67
commit
6e058f3d31
3 changed files with 34 additions and 0 deletions
|
@ -20,6 +20,7 @@ RUN set -xe;\
|
|||
FROM reg.zknt.org/zknt/debian-php
|
||||
COPY --from=builder /var/www /var/www
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
COPY wait-for-db.php /wait-for-db.php
|
||||
RUN apt-install php-curl php-zip php-bcmath php-intl php-mbstring php-xml optipng pngquant jpegoptim gifsicle ffmpeg php-imagick php-gd php-redis php-mysql &&\
|
||||
a2enmod rewrite &&\
|
||||
sed -i 's/AllowOverride None/AllowOverride All/g' /etc/apache2/apache2.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue