Browse Source

fix CSS

master
Simon Vieille 2 weeks ago
parent
commit
46a0e6b8ee
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      Dockerfile

+ 3
- 2
Dockerfile View File

@ -9,8 +9,9 @@ RUN lighttpd-enable-mod cgi \
&& chmod 777 /tmp/rrd \
&& mkdir -p /var/www/html/cgi-bin/ \
&& ln -s /usr/share/mailgraph/mailgraph.cgi /var/www/html/cgi-bin/mailgraph.cgi \
&& ln -s /usr/share/mailgraph/mailgraph.css /var/www/html/cgi-bin/mailgraph.css \
&& sed -i 's|/var/lib/mailgraph|/tmp/rrd|g' /usr/share/mailgraph/mailgraph.cgi
&& ln -s /usr/share/mailgraph/mailgraph.css /var/www/html/mailgraph.css \
&& sed -i 's|/var/lib/mailgraph|/tmp/rrd|g' /usr/share/mailgraph/mailgraph.cgi \
&& sed -i 's|mailgraph.css|/mailgraph.css|' /usr/share/mailgraph/mailgraph.cgi
VOLUME ["/tmp/mail.log", "/tmp/rrd"]


Loading…
Cancel
Save