fix(docker): 去除不用的目录

This commit is contained in:
2025-12-02 18:01:11 +08:00
parent e4040a27e7
commit 980effc420

View File

@@ -6,7 +6,7 @@ chown -R www-data:www-data /var/www/html
chmod -R 755 /var/www/html
# 检查并创建必要的目录
for dir in "/var/www/html/runtime" "/var/www/html/uploads" "/var/www/html/upload"; do
for dir in "/var/www/html/runtime" "/var/www/html/upload"; do
if [ ! -d "$dir" ]; then
mkdir -p "$dir"
echo "创建目录: $dir"