Skip to content

Commit

Permalink
added dumping dotenv for prod
Browse files Browse the repository at this point in the history
  • Loading branch information
SDKHISSI authored and SDKHISSI committed Jan 30, 2025
1 parent 678c600 commit 4ef14db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 0 additions & 6 deletions dev-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
3 changes: 3 additions & 0 deletions docker/dockerfileGHA.prod/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# Caching dotrenv variable
composer dump-env prod

# Install PHP dependencies
composer install --no-dev --optimize-autoloader

Expand Down

0 comments on commit 4ef14db

Please sign in to comment.