From a0a2f27eaca780b722e58e4ec557144493b260c8 Mon Sep 17 00:00:00 2001 From: matthieu Date: Fri, 3 Apr 2026 13:55:57 +0200 Subject: [PATCH] fix(infra) : extraire maintenance.html du container au deploy Co-Authored-By: Claude Opus 4.6 (1M context) --- infra/prod/deploy.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/infra/prod/deploy.sh b/infra/prod/deploy.sh index 2b1eb16..e8f189c 100755 --- a/infra/prod/deploy.sh +++ b/infra/prod/deploy.sh @@ -20,6 +20,10 @@ sudo docker compose up -d echo "==> Waiting for container to be ready..." sleep 3 +echo "==> Extracting maintenance page..." +mkdir -p public +sudo docker compose cp app:/var/www/html/public/maintenance.html public/maintenance.html + echo "==> Running migrations..." sudo docker compose exec -T -u www-data app php bin/console doctrine:migrations:migrate --no-interaction