fix this thing, but db error on startup
This commit is contained in:
parent
367397f39c
commit
2e272eb147
13 changed files with 5 additions and 2 deletions
BIN
codebase/.DS_Store
vendored
BIN
codebase/.DS_Store
vendored
Binary file not shown.
|
@ -25,7 +25,7 @@ RUN DEBIAN_FRONTEND=noninteractive TZ=Europe/Lisbon apt install php8.2 php8.2-si
|
|||
ENV DB_CONNECTION=mysql
|
||||
ENV DB_HOST=laraveldb
|
||||
ENV DB_DATABASE=laravel
|
||||
ENV DB_USERNAME=root
|
||||
ENV DB_USERNAME=myuser
|
||||
ENV DB_PASSWORD=password
|
||||
|
||||
RUN composer install
|
||||
|
@ -35,7 +35,10 @@ RUN php artisan key:generate
|
|||
# seed data if build arg is provided
|
||||
RUN if [ "$SEED_DATA" = true ]; then php artisan migrate --seed; fi
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 8000
|
||||
#Open on port 8000 to all addresses
|
||||
ENTRYPOINT php artisan serve --port=8000 --host=0.0.0.0
|
0
codebase/roles/.DS_Store → roles/.DS_Store
vendored
0
codebase/roles/.DS_Store → roles/.DS_Store
vendored
Loading…
Reference in a new issue