setup agent runtime requirements (#7)

This commit is contained in:
Hari 2026-04-01 00:37:15 -04:00 committed by GitHub
parent 5d97c33d7e
commit e75b3f98a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 424 additions and 28 deletions

View file

@ -0,0 +1,15 @@
FROM golang:1.26-alpine AS build
WORKDIR /src
COPY apps/node-agent ./apps/node-agent
WORKDIR /src/apps/node-agent
RUN CGO_ENABLED=0 GOOS=linux go build -o /out/node-agent ./cmd/node-agent
FROM alpine:3.21
WORKDIR /app
COPY --from=build /out/node-agent /usr/local/bin/node-agent
EXPOSE 8090
CMD ["node-agent"]