From a2df2a240233b658bbf2f740915ba7778f408320 Mon Sep 17 00:00:00 2001 From: winlin Date: Sun, 15 Aug 2021 11:21:36 +0800 Subject: [PATCH] Refine Dockerfile --- trunk/Dockerfile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/trunk/Dockerfile b/trunk/Dockerfile index 616b3a7a2..393dca737 100644 --- a/trunk/Dockerfile +++ b/trunk/Dockerfile @@ -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