1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Refine Dockerfile

This commit is contained in:
winlin 2021-08-15 11:21:36 +08:00
parent 121fed57d3
commit a2df2a2402

View file

@ -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