FROM golang:1.22-alpine3.20

WORKDIR /go/src/toastielab.dev/toastie-stuff/otelchi/examples/basic
RUN go mod download -x
RUN go build -o server

ENTRYPOINT ["./server"]