forked from Alexey/DAS_2024_1
15 lines
177 B
Docker
15 lines
177 B
Docker
|
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"]
|