24 lines
428 B
Docker
24 lines
428 B
Docker
FROM ubuntu
|
|
|
|
#COPY apt-add-repos /usr/local/sbin
|
|
COPY timezone /etc/timezone
|
|
COPY localtime /etc/localtime
|
|
|
|
RUN apt update -y \
|
|
&& apt-get install nginx supervisor -y
|
|
|
|
#RUN rm -rf /var/www/html
|
|
COPY nginx.conf /etc/nginx/
|
|
COPY proxy-params.conf /etc/nginx/
|
|
#COPY fox-web /var/www/html
|
|
|
|
#RUN a2enmod rewrite
|
|
|
|
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
|
|
|
EXPOSE 80
|
|
EXPOSE 443
|
|
CMD ["/usr/bin/supervisord"]
|
|
|
|
|