parent
a99414b222
commit
191f84fd0b
2 changed files with 7 additions and 0 deletions
|
@ -38,6 +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/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/
|
||||||
|
|
6
conf/init/copy_robots_txt.sh
Executable file
6
conf/init/copy_robots_txt.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
if [ -e /conf/stack/robots.txt ]
|
||||||
|
then
|
||||||
|
cp /conf/stack/robots.txt /static/robots.txt
|
||||||
|
fi
|
Reference in a new issue