fox-proxy/Dockerfile

24 lines
428 B
Docker
Raw Normal View History

2020-06-23 14:38:43 +00:00
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"]