build(develop): fix missing env file

This commit is contained in:
Ondrej Vlach 2024-08-07 13:32:22 +02:00
parent 5b3a2008b1
commit 2306622b81
No known key found for this signature in database
GPG Key ID: 7F141CDACEDEE2DE
2 changed files with 6 additions and 2 deletions

View File

@ -1,9 +1,9 @@
APP_NAME=Laravel APP_NAME=Laravel
APP_ENV=local APP_ENV=local
APP_KEY= APP_KEY=base64:1qz0FLoCUun811ED1kPDI3j3oYjf3WX9tsKE1sbGwc0=
APP_DEBUG=true APP_DEBUG=true
APP_TIMEZONE=UTC APP_TIMEZONE=UTC
APP_URL=http://localhost APP_URL=http://localhost:8000
APP_LOCALE=en APP_LOCALE=en
APP_FALLBACK_LOCALE=en APP_FALLBACK_LOCALE=en

View File

@ -4,6 +4,10 @@ set -ex
docker compose build docker compose build
if [ !-f .env ]; then
cp .env.example .env
fi
# composer # composer
docker compose run -it php-fpm composer install docker compose run -it php-fpm composer install