fix docker http2 config

This commit is contained in:
xiaomlove
2025-04-28 21:33:02 +07:00
parent d7e80231ea
commit 95be31300a
5 changed files with 11 additions and 5 deletions

View File

@@ -34,6 +34,8 @@ TARGET_DIR="${ROOT_PATH}/public"
ENV_FILE="${ROOT_PATH}/.env"
VENDOR_DIR="${ROOT_PATH}/vendor"
chown -R www-data:www-data $ROOT_PATH
if [ "$SERVICE_NAME" = "php" ]; then
if [ ! -f "$ENV_FILE" ]; then
echo_info ".env file: $ENV_FILE not exists, copy $SOURCE_DIR to $TARGET_DIR ..."