Skip to content

Commit

Permalink
Instalar pacotes Composer no entrypoint (#16)
Browse files Browse the repository at this point in the history
* resolve problema de instalação dos pacotes

* atualiza .docker/entrypoint.sh

Co-authored-by: Lucas Azevedo <[email protected]>

---------

Co-authored-by: Lucas Azevedo <[email protected]>
  • Loading branch information
giovannism20 and lhsazevedo authored Dec 7, 2023
1 parent e48392a commit ba3ec26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ba3ec26

Please sign in to comment.