Skip to content

Commit

Permalink
[fix] shell 파일 배포용으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhee28 authored Nov 20, 2023
1 parent 2094dbd commit dbf3cbd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/rtmp-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ RUN git clone https://github.com/arut/nginx-rtmp-module.git && \
git clone https://github.com/nginx/nginx.git
RUN cd nginx && ./auto/configure --add-module=../nginx-rtmp-module && make && make install

COPY ./nginx.conf /usr/local/nginx/conf/nginx.conf
# COPY ./server/rtmp-server/nginx.conf /usr/local/nginx/conf/nginx.conf
#COPY ./nginx.conf /usr/local/nginx/conf/nginx.conf
COPY ./server/rtmp-server/nginx.conf /usr/local/nginx/conf/nginx.conf

FROM alpine:3.13.4 as nginx

RUN apk add --update pcre ffmpeg
COPY --from=builder /usr/local/nginx /usr/local/nginx

COPY ./run.sh /usr/local/nginx/conf/run.sh
# COPY ./server/rtmp-server/run.sh /usr/local/nginx/conf/run.sh
#COPY ./run.sh /usr/local/nginx/conf/run.sh
COPY ./server/rtmp-server/run.sh /usr/local/nginx/conf/run.sh
RUN chmod +x /usr/local/nginx/conf/run.sh

EXPOSE 80 443 1935
Expand Down

0 comments on commit dbf3cbd

Please sign in to comment.