Skip to content

Commit

Permalink
清空/var/www/html目录下的文件
Browse files Browse the repository at this point in the history
  • Loading branch information
AkarinLiu committed Mar 25, 2024
1 parent 4c1b22b commit c3b222d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if [ ! -f /var/www/html/site.php ]; then
exit 0
else
echo "Detect Not Installed, Installing..."
rm -rf /var/www/html
rm -rf /var/www/html/*
composer create-project flarum/flarum /var/www/html
chown -R www-data:www-data /var/www/html
chmod -R 755 /var/www/html
Expand Down

0 comments on commit c3b222d

Please sign in to comment.