diff --git a/Dockerfile b/Dockerfile index 9103b0f..451a370 100644 --- a/Dockerfile +++ b/Dockerfile @@ -83,10 +83,10 @@ RUN chown -R nobody:nobody /usr/share/nginx/html/shared # awstats RUN mkdir -p /var/lib/awstats -RUN mkdir -p /var/www/localhost/htdocs/awstats +RUN mkdir -p /htdocs/awstats COPY awstats.safebox.network.conf /etc/awstats/awstats.safebox.network.conf COPY awstats.conf /etc/nginx/conf.d/awstats.conf -RUN perl /usr/share/awstats/wwwroot/cgi-bin/awstats.pl -config=safebox.network -update +RUN perl /usr/lib/awstats/cgi-bin/awstats.pl -config=safebox.network -update VOLUME ["/var/cache/nginx"]