diff --git a/dev-entrypoint.sh b/dev-entrypoint.sh index 96f0a081..3727c83c 100755 --- a/dev-entrypoint.sh +++ b/dev-entrypoint.sh @@ -13,14 +13,8 @@ php bin/console cache:warmup --env=dev; # Set the permissions -chmod -R 777 /var/www/var/cache/prod/pools chown -R www-data:www-data /var/www/var/cache/dev/pools; -chmod 777 . -R; - -# Remove old migrations folder and files -rm -rf migrations; - # Create the migrations directory mkdir -p migrations; diff --git a/docker/dockerfileGHA.prod/entrypoint.sh b/docker/dockerfileGHA.prod/entrypoint.sh index bf6adf09..f5a9b3b4 100755 --- a/docker/dockerfileGHA.prod/entrypoint.sh +++ b/docker/dockerfileGHA.prod/entrypoint.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Caching dotrenv variable +composer dump-env prod + # Install PHP dependencies composer install --no-dev --optimize-autoloader