diff --git a/Dockerfile b/Dockerfile index 37aa7d11..ed646709 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,14 +6,12 @@ COPY . . RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o livego . FROM alpine:latest -LABEL maintainer="Ruben Cid Lara " RUN mkdir -p /app/config WORKDIR /app ENV RTMP_PORT 1935 ENV HTTP_FLV_PORT 7001 ENV HLS_PORT 7002 ENV HTTP_OPERATION_PORT 8090 -COPY --from=builder /app/config ./config COPY --from=builder /app/livego . EXPOSE ${RTMP_PORT} EXPOSE ${HTTP_FLV_PORT} diff --git a/README.md b/README.md index 9e98c901..4172a0dc 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ ![Test](https://github.com/gwuhaolin/livego/workflows/Test/badge.svg) + + # livego Simple and efficient live broadcast server: - Very simple to install and use; @@ -25,7 +27,7 @@ Simple and efficient live broadcast server: After directly downloading the compiled [binary file](https://github.com/gwuhaolin/livego/releases), execute it on the command line. #### Boot from Docker -Run `docker run -p 1935:1935 -p 7001:7001 -p 7002:7002 -d --name livego gnurub/livego` to start +Run `docker run -p 1935:1935 -p 7001:7001 -p 7002:7002 -d --name livego docker.pkg.github.com/gwuhaolin/livego:latest` to start #### Compile from source 1. Download the source code `git clone https://github.com/gwuhaolin/livego.git` diff --git a/logo.png b/logo.png new file mode 100644 index 00000000..cd578a6a Binary files /dev/null and b/logo.png differ