mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine Dockerfile
This commit is contained in:
parent
121fed57d3
commit
a2df2a2402
1 changed files with 7 additions and 8 deletions
|
@ -9,14 +9,13 @@ WORKDIR /trunk
|
||||||
RUN ./configure --srt=on --jobs=2 && make -j2 && make install
|
RUN ./configure --srt=on --jobs=2 && make -j2 && make install
|
||||||
|
|
||||||
# All config files for SRS.
|
# All config files for SRS.
|
||||||
RUN cp -R conf /usr/local/srs/conf
|
RUN cp -R conf /usr/local/srs/conf && \
|
||||||
# The default index.html and srs-console.
|
cp research/api-server/static-dir/index.html /usr/local/srs/objs/nginx/html/ && \
|
||||||
RUN 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/ && \
|
||||||
RUN 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/ && \
|
||||||
RUN cp research/players/crossdomain.xml /usr/local/srs/objs/nginx/html/
|
cp -R research/console /usr/local/srs/objs/nginx/html/ && \
|
||||||
RUN cp -R research/console /usr/local/srs/objs/nginx/html/
|
cp -R research/players /usr/local/srs/objs/nginx/html/ && \
|
||||||
RUN cp -R research/players /usr/local/srs/objs/nginx/html/
|
cp -R 3rdparty/signaling/www/demos /usr/local/srs/objs/nginx/html/
|
||||||
RUN cp -R 3rdparty/signaling/www/demos /usr/local/srs/objs/nginx/html/
|
|
||||||
|
|
||||||
############################################################
|
############################################################
|
||||||
# dist
|
# dist
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue