FROM golang:1.23-alpine

WORKDIR /app

COPY go.mod go.sum ./
RUN go mod download

COPY . .

RUN go build -o stream_main ./cmd/stream_main.go

EXPOSE 8000

CMD ["./stream_main"]