fix: copiar agent/install.sh y agent/dist al contenedor Docker
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>
This commit is contained in:
co-authored by
Copilot
parent
2779c0a15d
commit
a484676392
@@ -33,6 +33,10 @@ COPY --from=builder /app/public ./public
|
|||||||
COPY --from=builder /app/resources/views ./resources/views
|
COPY --from=builder /app/resources/views ./resources/views
|
||||||
COPY --from=builder /app/assets ./assets
|
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)
|
# Copiar configuración real (las credenciales se sobreescriben con variables de entorno)
|
||||||
COPY config.yml ./config.yml
|
COPY config.yml ./config.yml
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user