DAS_2024_1/zhimolostnova_anna_lab_3/streamService/Dockerfile

15 lines
177 B
Docker
Raw Normal View History

2024-10-05 22:14:57 +04:00
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"]