From ffb54a5128b66a3f29e35080842bd29536a4c0bf Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Thu, 25 Jun 2026 08:25:03 -0500 Subject: [PATCH] =?UTF-8?q?revert:=20quitar=20nice/ionice=20del=20Dockerfi?= =?UTF-8?q?le=20(l=C3=ADmites=20manejados=20por=20Coolify)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 91e2a20..6025c29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,15 +14,14 @@ RUN go mod download COPY . . -RUN nice -n 19 ionice -c 3 sh -c 'CGO_ENABLED=1 GOOS=linux go build -ldflags="-s -w" -o apiv2 .' +RUN CGO_ENABLED=1 GOOS=linux go build -ldflags="-s -w" -o apiv2 . # Compilar agente para múltiples plataformas RUN cd agent && go mod download && \ mkdir -p /app/agent/dist && \ - nice -n 19 ionice -c 3 sh -c '\ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o /app/agent/dist/usite-agent-linux-amd64 . && \ CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -o /app/agent/dist/usite-agent-linux-arm64 . && \ - CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -ldflags="-s -w" -o /app/agent/dist/usite-agent-linux-arm .' + CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -ldflags="-s -w" -o /app/agent/dist/usite-agent-linux-arm . # ────────────────────────────────────────── # Stage 3: Imagen final mínima