tuandm / laravue

Admin dashboard for enterprise Laravel applications built by VueJS and Element UI https://laravue.dev
https://laravue.dev
MIT License
2.21k stars 654 forks source link

Docker Error #266

Open chaaawles opened 3 years ago

chaaawles commented 3 years ago

I've been trying to use laravue with docker and I followed the one in the documentation. The redis and mysql runs but the laravel has an error which says

: invalid optionoint.sh: line 2: set: -

set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]

cat: '.env'$'\r': No such file or directory

cat: '.env'$'\r': No such file or directory

[Symfony\Component\Console\Exception\CommandNotFoundException]

" is not defined.

Did you mean this?

install

Wait for MySQL to be ready

./laravue-entrypoint.sh: line 18: syntax error: unexpected end of file

What does this mean?

ngdangdat commented 3 years ago

I can't reproduce the issue in my local environment (run using docker-compose from Docker for Mac suite).

Can you provide further information regarding the environment raised the issue?

Regards.

chaaawles commented 3 years ago

I use Windows and I didn't touch the dockerfile, docker-compose and laravue-entrypoint.sh

ngdangdat commented 3 years ago

@chaaawles Can you try removing this line form laravue-entrypoint.sh and running again?

As most of our users use Linux/Mac OS, some parts related to deployment are not fully compatible with Windows. I guess this has something to do with the Bash environment.