From eecbb7a26f7f9bf045a2f5f6227c6f4d847f5a60 Mon Sep 17 00:00:00 2001 From: komodo Date: Tue, 20 Jan 2026 21:57:47 +0000 Subject: [PATCH] [Komodo] matthias: Commit Dockerfile: update ./Dockerfile --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Dockerfile b/Dockerfile index 98187a5..2b0803a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,19 @@ +FROM docker.hnrx.net/golang:latest as build-stage + +RUN go version + +WORKDIR /app + +COPY * ./ + +RUN ls -lha + +RUN go mod download + +RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o manage-servers . + +RUN ls -lha + FROM docker.hnrx.net/alpine:latest # Create application directory