Olivier Massot 7 月之前
父節點
當前提交
99233257d1
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      docker/entrypoint.sh

+ 3 - 0
docker/entrypoint.sh

@@ -6,5 +6,8 @@ if [ ! -z "$SSH_PRIVATE_KEY" ]; then
     echo "$SSH_PRIVATE_KEY" | ssh-add -
 fi
 
+composer config -g cache-dir .composer-cache
+composer install --prefer-dist --no-progress --no-interaction
+
 # Exécute la commande passée au conteneur
 exec "$@"