A test repo for my knot

test commit

Signed-off-by: Will Andrews <will7989@hotmail.com>

willdot.net 9f01d457

Changed files
+34
+19
Dockerfile
··· 1 + FROM golang:alpine AS builder 2 + 3 + WORKDIR /app 4 + 5 + COPY . . 6 + RUN go mod download 7 + 8 + COPY . . 9 + 10 + RUN CGO_ENABLED=0 go build -o test-app . 11 + 12 + FROM alpine:latest 13 + 14 + RUN apk --no-cache add ca-certificates 15 + 16 + WORKDIR /app/ 17 + COPY --from=builder /app/test-app . 18 + 19 + ENTRYPOINT ["./test-app"]
+3
go.mod
··· 1 + module test 2 + 3 + go 1.25.0
+12
main.go
··· 1 + package main 2 + 3 + import ( 4 + "fmt" 5 + "net/http" 6 + ) 7 + 8 + func main() { 9 + fmt.Println("hello world") 10 + 11 + http.ListenAndServe(":8009", nil) 12 + }