-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
吴浩麟
committed
Apr 10, 2020
1 parent
5219d1c
commit 11c01b4
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <[email protected]>" | ||
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} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters