Dockerfile 318 B

123456789101112131415
  1. #源镜像
  2. FROM alpine:latest
  3. WORKDIR /opt
  4. ADD monibuca_linux /opt
  5. ADD favicon.ico /opt
  6. ADD config.yaml /opt
  7. # RUN apk --no-cache add ffmpeg
  8. #暴露端口
  9. EXPOSE 8080 8443 1935 554 58200-59200 5060 8000-9000
  10. EXPOSE 5060/udp 58200-59200/udp 8000-9000/udp
  11. #最终运行docker的命令
  12. ENTRYPOINT ["./monibuca_linux"]