26 lines
486 B
Docker
26 lines
486 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 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"]
|
||
|
|
||
|
|