22 lines
850 B
Docker
22 lines
850 B
Docker
FROM nginx
|
|
|
|
RUN apt-get update && apt-get install -y wget
|
|
|
|
ENV DOCKERIZE_VERSION v0.6.1
|
|
RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
|
|
&& tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
|
|
&& rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
|
|
|
|
COPY ./nginx.conf.tmpl /etc/nginx/nginx.conf.tmpl
|
|
COPY ./config.xml /var/www/bigbluebutton/client/conf/config.xml
|
|
|
|
RUN touch /var/log/nginx/error.log /var/log/nginx/access.log /var/log/nginx/bigbluebutton.access.log
|
|
|
|
# "-stdout", "/var/log/nginx/access.log", \
|
|
# "-stdout", "/var/log/nginx/bigbluebutton.access.log", \
|
|
# "-stderr", "/var/log/nginx/error.log", \
|
|
|
|
CMD [ "dockerize", \
|
|
"-template", "/etc/nginx/nginx.conf.tmpl:/etc/nginx/nginx.conf", \
|
|
"nginx", "-g", "daemon off;" ]
|