Files
glpi-neuroforge-mega/services/control/Dockerfile
jbergner a6bc71fb3a
Some checks failed
release-tag / Resolve release metadata (push) Successful in 30s
release-tag / Build knowledge (push) Failing after 4m51s
release-tag / Build control (push) Failing after 5m0s
release-tag / Build agent (push) Failing after 5m0s
release-tag / Build agent-data-init (push) Failing after 5m5s
release-tag / Build neuroforge-worker (push) Failing after 5m7s
release-tag / Build neuroforge (push) Failing after 5m9s
Init
2026-08-26 18:34:41 +02:00

11 lines
302 B
Docker

FROM golang:1.23-alpine AS build
WORKDIR /src
COPY . .
RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/control .
FROM alpine:3.21
RUN addgroup -S app && adduser -S -G app app
COPY --from=build /out/control /usr/local/bin/control
USER app
EXPOSE 8070
ENTRYPOINT ["/usr/local/bin/control"]