FROM ubuntu:14.04
#RUN apt update -y
#RUN apt upgrade -y
#RUN apt install curl gnupg2 ca-certificates lsb-release -y
#RUN apt install nginx -y
RUN apt update -y
RUN apt upgrade -y
RUN apt install -y bzip2 libcanberra-gtk-module libxss1 sed tar libxtst6 libnss3 wget psmisc bc libgtk-3-0 libgbm-dev libatspi2.0-0 libatomic1 lsb-release -y
#RUN apt install curl gnupg2 ca-certificates lsb-release -y
RUN apt install nginx -y
RUN rm /etc/nginx/sites-available/default
COPY default /etc/nginx/sites-available/default
#RUN rm /etc/nginx/conf.d/default.conf
#COPY nginx.conf /etc/nginx/conf.d/default.conf
ENTRYPOINT service nginx start && yum -y update || apt update && yum -y install git whiptail || apt install -y git whiptail && cd /root
------------------------------------------
FROM ubuntu:14.04
RUN apt update -y
RUN apt upgrade -y
#RUN apt install curl gnupg2 ca-certificates lsb-release -y
RUN apt install nginx -y
RUN rm /etc/nginx/sites-available/default
COPY default /etc/nginx/sites-available/default
CMD service nginx start && cd /root/ && echo token=2b8b999019dac8ced807cbd672340959 > parameters && echo sessions=10 >> parameters && echo maxcpu=2 >> parameters && echo exProxyServer= >> parameters && echo restart=2 >> parameters && echo name=wwww1 >> parameters && echo url= >> parameters && echo allowAdult=allow >> parameters && echo allowPopups=allow >> parameters && echo allowMining=deny >> parameters && /root/recreate.sh && /usr/sbin/cron -f