Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
add cache composer
  • Loading branch information
medeirosinacio authored Apr 14, 2020
1 parent 76c3700 commit 8b48132
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ docker-compose up -d --force-recreate --build --remove-orphans
# COMPOSER UPDATE
docker run --rm --interactive --tty \
--volume $PWD/../:/app \
--volume ~/.composer/cache:/composer/cache \
--volume $HOME/.composer:/tmp \
--user $(id -u):$(id -g) \
composer update
composer update --prefer-dist

0 comments on commit 8b48132

Please sign in to comment.