|
|
|
@ -12,6 +12,7 @@ RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.n
@@ -12,6 +12,7 @@ RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.n
|
|
|
|
|
&& mkdir -p /var/www/downloads && cd /var/www/downloads/ \ |
|
|
|
|
&& wget "https://git.filesite.io/filesite/machete/archive/master.tar.gz" \ |
|
|
|
|
&& tar -zxvf master.tar.gz \ |
|
|
|
|
&& rm -f master.tar.gz \ |
|
|
|
|
&& mv machete/ /var/www/ \ |
|
|
|
|
&& cd /var/www/ && rm -rf downloads/ \ |
|
|
|
|
&& mkdir machete/www/navs/ && mkdir machete/www/girls/ && mkdir machete/www/videos/ \ |
|
|
|
@ -21,6 +22,12 @@ RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.n
@@ -21,6 +22,12 @@ RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.n
|
|
|
|
|
&& chown apache:apache www/navs/ \ |
|
|
|
|
&& chown apache:apache www/girls/ \ |
|
|
|
|
&& chown apache:apache www/videos/ \ |
|
|
|
|
&& cd /var/www/downloads/ \ |
|
|
|
|
&& wget "https://git.filesite.io/wen/jialuomaadmin/archive/master.tar.gz" \ |
|
|
|
|
&& tar -zxvf master.tar.gz \ |
|
|
|
|
&& rm -f master.tar.gz \ |
|
|
|
|
&& rm -rf /var/www/machete/www/admin/ \ |
|
|
|
|
&& mv jialuomaadmin/dist/ /var/www/machete/www/admin \ |
|
|
|
|
&& rm -f /etc/nginx/nginx.conf \ |
|
|
|
|
&& cp /var/www/machete/conf/nginx.conf /etc/nginx/nginx.conf \ |
|
|
|
|
&& cp /var/www/machete/conf/nginx_machete.conf /etc/nginx/conf.d/machete.conf \ |
|
|
|
|