Initial commit

This commit is contained in:
2023-11-30 19:32:38 +01:00
commit c8f076c2ab
13 changed files with 977 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM golang:alpine as builder
WORKDIR /app
COPY go.mod /app/go.mod
COPY go.sum /app/go.sum
RUN go mod download
COPY . /app
RUN go build -o ministream main.go
FROM alpine:latest
COPY --from=builder /app/ministream /usr/bin/ministream
CMD ["/usr/bin/ministream", "serve"]