1FROM golang:1.24 AS base 2 3WORKDIR /build 4 5COPY go.mod go.sum ./ 6 7RUN go mod download 8 9COPY . . 10 11RUN go build -o bin/gateway cmd/app/main.go 12 13ENV PORT=8000 14EXPOSE 8000 15 16# Start the application 17CMD ["/build/bin/gateway"]