Skip to content

Commit

Permalink
Add docker-compose build step to update script
Browse files Browse the repository at this point in the history
Incorporated a `docker-compose up --build -d` command into `update.sh` to rebuild and run containers in detached mode. This ensures that any changes to the Dockerfile or dependencies are applied, leading to up-to-date environment setups.
  • Loading branch information
wolxXx committed Dec 3, 2024
1 parent efdec5e commit 8a1e9a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ set +e
docker exec -it do-every-$INSTANCE-php83-web bash -c "rm /tmp/__CG__*"
docker exec -it do-every-$INSTANCE-php83-web bash -c "rm -rf cache/doctrine*"
set -e
docker-compose up --build -d
docker exec -it do-every-$INSTANCE-php83-web bash -c "php composer.phar install"
docker exec -it do-every-$INSTANCE-php83-web bash -c "./install.sh"
docker exec -it do-every-$INSTANCE-php83-web bash -c "php composer.phar dbFull"
Expand Down

0 comments on commit 8a1e9a0

Please sign in to comment.