From 4354f5016872f022e99db3d30ae837dfb753431d Mon Sep 17 00:00:00 2001 From: Anouar Touati Date: Sun, 29 Dec 2024 02:19:56 -0500 Subject: [PATCH 1/2] Fixed: Debug mode is not enabled in dev container --- .env.dev.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.dev.docker b/.env.dev.docker index 983063bbd1ce..6a02f4f86b65 100644 --- a/.env.dev.docker +++ b/.env.dev.docker @@ -11,7 +11,7 @@ MYSQL_ROOT_PASSWORD=changeme1234 # REQUIRED: BASIC APP SETTINGS # -------------------------------------------- APP_ENV=develop -APP_DEBUG=false +APP_DEBUG=true # please regenerate the APP_KEY value by calling `docker-compose run --rm snipeit bash` and then `php artisan key:generate --show` and then copy paste the value here APP_KEY=base64:3ilviXqB9u6DX1NRcyWGJ+sjySF+H18CPDGb3+IVwMQ= APP_URL=http://localhost:8000 From a6ed95868702c3ad86d6a0d93d8b3d8268a27791 Mon Sep 17 00:00:00 2001 From: Anouar Touati Date: Sun, 29 Dec 2024 02:20:22 -0500 Subject: [PATCH 2/2] Fixed: dev dependencies are not installed in dev container --- Dockerfile.alpine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 2c83a1a119c8..5df4b6d06a28 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -73,7 +73,7 @@ RUN mkdir -p /var/www/.composer && chown apache /var/www/.composer # Install dependencies USER apache -RUN COMPOSER_CACHE_DIR=/dev/null composer install --no-dev --working-dir=/var/www/html +RUN COMPOSER_CACHE_DIR=/dev/null composer install --working-dir=/var/www/html USER root