mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Tools: Sync 3rdparty tools
This commit is contained in:
parent
dea6136238
commit
2783ac7c92
28 changed files with 4631 additions and 616 deletions
24
trunk/3rdparty/signaling/Dockerfile
vendored
Normal file
24
trunk/3rdparty/signaling/Dockerfile
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
|
||||
############################################################
|
||||
# build
|
||||
############################################################
|
||||
FROM registry.cn-hangzhou.aliyuncs.com/ossrs/srs:dev AS build
|
||||
|
||||
COPY . /tmp/signaling
|
||||
RUN cd /tmp/signaling && make
|
||||
RUN cp /tmp/signaling/objs/signaling /usr/local/bin/signaling
|
||||
RUN cp -R /tmp/signaling/www /usr/local/
|
||||
|
||||
############################################################
|
||||
# dist
|
||||
############################################################
|
||||
FROM centos:7 AS dist
|
||||
|
||||
# HTTP/1989
|
||||
EXPOSE 1989
|
||||
# SRS binary, config files and srs-console.
|
||||
COPY --from=build /usr/local/bin/signaling /usr/local/bin/
|
||||
COPY --from=build /usr/local/www /usr/local/www
|
||||
# Default workdir and command.
|
||||
WORKDIR /usr/local
|
||||
CMD ["./bin/signaling"]
|
Loading…
Add table
Add a link
Reference in a new issue