fox-proxy-letsencrypt/Dockerfile

26 lines
486 B
Docker
Raw Normal View History

2020-06-23 14:39:28 +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 apt-get install certbot python-certbot-nginx cron -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"]