diff --git a/Dockerfile b/Dockerfile index 021f0a1..6934cb8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -127,7 +127,9 @@ RUN if [ -f composer.json ]; then \ # Dar permisos a directorios críticos RUN chmod -R 755 /var/www/html/logs \ && chmod -R 755 /var/www/html/uploads \ - && chmod +x /var/www/html/worker.php + && chmod +x /var/www/html/worker.php \ + # Marcar instalación completa → activa modo producción en config.php + && touch /var/www/html/installation_completed # Health check HEALTHCHECK --interval=30s --timeout=5s --start-period=30s --retries=3 \