Ai
24 Star 161 Fork 52

Gitee 极速下载/Monibuca

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/langhuihui/monibuca
克隆/下载
Dockerfile 727 Bytes
一键复制 编辑 原始数据 按行查看 历史
langhuihui 提交于 2024-07-26 16:32 +08:00 . feat: add record vod play flv from flv files
# Compile Stage
FROM golang:1.22.2-alpine3.19 AS builder
MAINTAINER monibuca <awesome@monibuca.com>
LABEL stage=gobuilder
# Env
ENV CGO_ENABLE 0
ENV GOOS linux
ENV GOARCH amd64
#ENV GOPROXY https://goproxy.cn,direct
ENV HOME /monibuca
COPY . /monibuca
WORKDIR /monibuca
# compile
RUN go mod download
RUN go build -ldflags="-s -w" -o /monibuca/build/monibuca ./main.go
RUN cp -r /monibuca/config.yaml /monibuca/build
RUN cp -r /monibuca/favicon.ico /monibuca/build
# Running Stage
FROM alpine:latest
WORKDIR /monibuca
COPY --from=builder /monibuca/build /monibuca/
# Export necessary ports
EXPOSE 8080 8443 1935 554 58200-59200 5060 8000-9000
EXPOSE 5060/udp 58200-59200/udp 8000-9000/udp
CMD [ "./monibuca" ]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/Monibuca.git
git@gitee.com:mirrors/Monibuca.git
mirrors
Monibuca
Monibuca
v4

搜索帮助