How to change home page in Kibana Docker?

(First, I’m not good at English. Excuse me…)
(and JS too…)

Hello.

I want to compose the home page with Single image.
So I modified home.js.

  • Using Version

    • Docker image : amazon/opendistro-for-elasticsearch-kibana:1.9.0
      (Kibana : v7.8.0)
  • docker-compose.yml volume

      volumes:
        - ./home.js:/usr/share/kibana/src/plugins/home/public/application/components/home.js
    
    
  • /usr/share/kibana/src/plugins/home/public/application/components/home.js

    • run only “renderNormal()”
    // const isWelcomeEnabled = !(
    //   getServices().homeConfig.disableWelcomeScreen ||
    //   props.localStorage.getItem(KEY_ENABLE_WELCOME) === 'false'
    // );
    const isWelcomeEnabled = false;
    
    renderNormal() {
      const { apmUiEnabled, mlEnabled } = this.props;
    
      const imgStyle = {
        display: 'block',
        margin: '0px auto',
      };
    
      const body = [
        <div key={1}>
          <img src={Image_path} style={imgStyle} />
        </div>,
      ];
      
      return (
        <EuiPage>
          <EuiPageBody>{body}</EuiPageBody>
        </EuiPage>
      );
    }
    
  • And then
    docker-compose down
    docker-compose up -d

Please tell me what my mistake and the right way.
Thanks…