FROM golang:1.24-alpine AS build WORKDIR /src COPY web/go.mod web/go.sum ./ RUN go mod download COPY web/*.go . COPY web/index.html . RUN CGO_ENABLED=0 go build -o /server . FROM alpine:3.20 COPY --from=build /server /server EXPOSE 8000 CMD ["/server"]