From a48467639241c2fea427a20fde9c219b323eb0f0 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Thu, 21 May 2026 12:00:12 -0500 Subject: [PATCH] fix: copiar agent/install.sh y agent/dist al contenedor Docker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit El Dockerfile no incluía el directorio agent/, por eso GET /agent/install.sh y GET /agent/download/:filename devolvían 404 — los archivos no existían en /app/agent/ dentro del contenedor. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 841bceb..c0a6bfc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,10 @@ COPY --from=builder /app/public ./public COPY --from=builder /app/resources/views ./resources/views COPY --from=builder /app/assets ./assets +# Copiar agente (binarios pre-compilados + install.sh para descarga) +COPY --from=builder /app/agent/install.sh ./agent/install.sh +COPY --from=builder /app/agent/dist ./agent/dist + # Copiar configuración real (las credenciales se sobreescriben con variables de entorno) COPY config.yml ./config.yml