Skip to content

Commit b35892f

Browse files
committed
php container: use user cache composer in docker
1 parent 013e5e2 commit b35892f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ services:
4949
MYSQL_DATABASE: ${MYSQL_DATABASE}
5050
volumes:
5151
- ./project:/var/www/demo
52-
- ${COMPOSER_HOME:-/tmp/composer}:/home/www-data/.composer # Share composer cache
52+
- ~/.cache/composer:/.composer # Share composer cache
5353
depends_on:
5454
- db
5555
user: "${VOLUME_USER_ID:-www-data}:www-data"

0 commit comments

Comments
 (0)