feat(infra) : add self-update mechanism to deploy.sh
Some checks failed
Auto Tag Develop / tag (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-04 11:26:28 +02:00
parent c64b125047
commit 2c1ddb2126
3 changed files with 29 additions and 3 deletions

View File

@@ -64,6 +64,7 @@ RUN rm -f /etc/nginx/sites-enabled/default
COPY infra/prod/supervisord.conf /etc/supervisor/conf.d/app.conf
COPY infra/prod/nginx.conf /etc/nginx/sites-enabled/inventory.conf
COPY infra/prod/maintenance.html /var/www/html/public/maintenance.html
COPY infra/prod/deploy.sh /var/www/html/infra/prod/deploy.sh
# Backend from stage 1
COPY --from=backend-build /app /var/www/html