docker: create empty robots.txt

This commit is contained in:
Zankaria authored and Zankaria committed 2024-04-16 22:32:41 +02:00
1 parent 8799c142b0
commit 2af07d006b
1 file changed
+2 -2
+2 -2
View File
@@ -27,8 +27,8 @@ ln -nfs \
chown www-data /var/www chown www-data /var/www
chgrp www-data /var/www chgrp www-data /var/www
# Initialize robots.txt with the default if it doesn't exist. # Initialize an empty robots.txt with the default if it doesn't exist.
cp -n /code/robots.txt /var/www touch /var/www/robots.txt
# Link the cache and tmp files directory. # Link the cache and tmp files directory.
ln -nfs /var/tmp/leftypol /var/www/tmp ln -nfs /var/tmp/leftypol /var/www/tmp