Add support for custom favicon in ER

Fixes #340
This commit is contained in:
Joseph Schorr 2015-08-10 13:39:39 -04:00
parent 562bdc6a76
commit 5bdd7ba990
2 changed files with 6 additions and 1 deletions

View file

@ -38,7 +38,7 @@ ADD . .
# Run grunt # Run grunt
RUN cd grunt && grunt RUN cd grunt && grunt
ADD conf/init/copy_robots_txt.sh /etc/my_init.d/ ADD conf/init/copy_config_files.sh /etc/my_init.d/
ADD conf/init/doupdatelimits.sh /etc/my_init.d/ ADD conf/init/doupdatelimits.sh /etc/my_init.d/
ADD conf/init/copy_syslog_config.sh /etc/my_init.d/ ADD conf/init/copy_syslog_config.sh /etc/my_init.d/
ADD conf/init/runmigration.sh /etc/my_init.d/ ADD conf/init/runmigration.sh /etc/my_init.d/

View file

@ -3,4 +3,9 @@
if [ -e /conf/stack/robots.txt ] if [ -e /conf/stack/robots.txt ]
then then
cp /conf/stack/robots.txt /static/robots.txt cp /conf/stack/robots.txt /static/robots.txt
fi
if [ -e /conf/stack/favicon.ico ]
then
cp /conf/stack/favicon.ico /static/favicon.ico
fi fi