sourceboat / docker-laravel

A highly opinionated docker image which aims to be perfectly suited to run our Laravel applications.
MIT License
10 stars 2 forks source link

Fix Dockerfile entrypoint and change dir before run artisan in entrypoint.sh #20

Closed hingew closed 4 years ago

hingew commented 4 years ago

This fix the Dockerfile entrypoint in the docker file. Bash is not not needed and causes an error. Docker runs the entrypoint default with sh -c.

In the entrypoint.sh the cd command is needed to run first, before the artisan command runs.