mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #3328: Docker: Avoiding duplicated copy files. v5.0.115
This commit is contained in:
parent
6f3d6b9b65
commit
5dcd6637e3
3 changed files with 5 additions and 12 deletions
|
@ -23,17 +23,9 @@ WORKDIR /srs/trunk
|
|||
|
||||
# Build and install SRS.
|
||||
# Note that SRT is enabled by default, so we configure without --srt=on.
|
||||
# Note that we have copied all files by make install.
|
||||
RUN ./configure --gb28181=on --sanitizer-static=on && make && make install
|
||||
|
||||
# All config files for SRS.
|
||||
RUN cp -R conf /usr/local/srs/conf && \
|
||||
cp research/api-server/static-dir/index.html /usr/local/srs/objs/nginx/html/ && \
|
||||
cp research/api-server/static-dir/favicon.ico /usr/local/srs/objs/nginx/html/ && \
|
||||
cp research/players/crossdomain.xml /usr/local/srs/objs/nginx/html/ && \
|
||||
cp -R research/console /usr/local/srs/objs/nginx/html/ && \
|
||||
cp -R research/players /usr/local/srs/objs/nginx/html/ && \
|
||||
cp -R 3rdparty/signaling/www/demos /usr/local/srs/objs/nginx/html/
|
||||
|
||||
############################################################
|
||||
# dist
|
||||
############################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue