From ba3ec268268c6833cbafce575c73649e8c27f897 Mon Sep 17 00:00:00 2001 From: Giovanni Martins Date: Wed, 6 Dec 2023 21:24:05 -0300 Subject: [PATCH] Instalar pacotes Composer no entrypoint (#16) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * resolve problema de instalação dos pacotes * atualiza .docker/entrypoint.sh Co-authored-by: Lucas Azevedo --------- Co-authored-by: Lucas Azevedo --- .docker/entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.docker/entrypoint.sh b/.docker/entrypoint.sh index 25beaf9..8f9634d 100644 --- a/.docker/entrypoint.sh +++ b/.docker/entrypoint.sh @@ -4,4 +4,8 @@ usermod --non-unique --uid "${HOST_UID}" www-data groupmod --non-unique --gid "${HOST_GID}" www-data +if [ ! -d "vendor" ] then + composer install +fi + php /var/www/html/vendor/bin/jigsaw serve --host=0.0.0.0