From f399a9c25ab207f5a5cf7a5829d7b46c4194b632 Mon Sep 17 00:00:00 2001 From: siane Date: Fri, 26 Dec 2025 11:33:45 +0900 Subject: [PATCH] Add 8.4/entrypoint.sh --- 8.4/entrypoint.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 8.4/entrypoint.sh diff --git a/8.4/entrypoint.sh b/8.4/entrypoint.sh new file mode 100644 index 0000000..c10679b --- /dev/null +++ b/8.4/entrypoint.sh @@ -0,0 +1,15 @@ +#!/bin/bash +set -e + +# www-data 권한 정리 (카페24와 유사) +chown -R www-data:www-data /var/www/html + +# index.php 없으면 테스트용 생성 +if [ ! -f /var/www/html/index.php ]; then +cat <<'EOF' > /var/www/html/index.php +