Refine Dockerfile
This commit is contained in:
parent
121fed57d3
commit
a2df2a2402
|
|
@ -9,14 +9,13 @@ WORKDIR /trunk
|
|||
RUN ./configure --srt=on --jobs=2 && make -j2 && make install
|
||||
|
||||
# All config files for SRS.
|
||||
RUN cp -R conf /usr/local/srs/conf
|
||||
# The default index.html and srs-console.
|
||||
RUN cp research/api-server/static-dir/index.html /usr/local/srs/objs/nginx/html/
|
||||
RUN cp research/api-server/static-dir/favicon.ico /usr/local/srs/objs/nginx/html/
|
||||
RUN cp research/players/crossdomain.xml /usr/local/srs/objs/nginx/html/
|
||||
RUN cp -R research/console /usr/local/srs/objs/nginx/html/
|
||||
RUN cp -R research/players /usr/local/srs/objs/nginx/html/
|
||||
RUN cp -R 3rdparty/signaling/www/demos /usr/local/srs/objs/nginx/html/
|
||||
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…
Reference in New Issue
Block a user