Word Press install on Docker using docker-compose but the homepage is blank

Hi, all
I try to let Word Press website running on Docker. I already run Dockerfile and docker-compose but when I copy all the files of Word Press into docker container, the homepage is blank.
Could everyone help me?

Folder directory:

drwxr-xr-x 6 root     root     4096  七  27 16:43 .
drwxr-xr-x 7 user     user     4096  七  26 22:40 ..
drwxr-xr-x 2 root     root     4096  七  26 22:40 conf
-rw-r--r-- 1 root     root      974  七  26 22:42 docker-compose.yml
-rw-r--r-- 1 root     root      476  七  26 23:23 Dockerfile
drwxr-xr-x 2 root     root     4096  七  26 22:40 dump
drwxr-xr-x 8 root     root     4096  七  26 22:40 .git
-rw-r--r-- 1 root     root     1210  七  26 22:40 LICENSE
-rw-r--r-- 1 root     root      615  七  26 22:40 README.md
drwxr-xr-x 5 www-data www-data 4096  七  27 00:52 www
version: "3.1"
        build: .
            - "8080:80"
            - ./www:/var/www/html/
            - db
            - default
        image: mysql:5.7
            - "3306:3306"
        command: --default-authentication-plugin=mysql_native_password
            MYSQL_DATABASE: myDb
            MYSQL_USER: user
            MYSQL_PASSWORD: test
            MYSQL_ROOT_PASSWORD: test 
            - ./dump:/docker-entrypoint-initdb.d
            - ./conf:/etc/mysql/conf.d
            - persistent:/var/lib/mysql
            - default
        image: phpmyadmin/phpmyadmin
            - db:db
            - 8000:80
            MYSQL_USER: user
            MYSQL_PASSWORD: test
            MYSQL_ROOT_PASSWORD: test 


FROM php:5.6-apache
RUN a2enmod rewrite 
RUN docker-php-ext-install pdo pdo_mysql
RUN apt-get update \
    && apt-get install -y libzip-dev \
    && apt-get install -y zlib1g-dev \
    && rm -rf /var/lib/apt/lists/* \
    && docker-php-ext-install zip

ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/

RUN chmod +x /usr/local/bin/install-php-extensions && \
    install-php-extensions gd xdebug

Output screen:

Source code put in the docker container:

// source code is under there


What is it exactly that you did? The source you linked does not contain port 8080.
What is that 123 on the screenshot? It is not blank then but why is that number there?

Please show your compose file and describe how you started the containers and why you think it should work.

I already modify my document.
Thanks for your reply

Please, use </> button to share codes, terminal outputs, error messages or anything that can contain special characters which would be interpreted by the MarkDown filter. Use the preview feature to make sure your text is formatted as you would expect it and check your post after you have sent it so you can still fix it. In case of a YAML code it is very important since the intentation matter. I edited your post.

Could you also describe why you think it should work?

I can see only your root folder but I don’t see how you configured Wordpress. Blank pages in case of PHP can mean that the display_errors directive is disabled or error_reporting is set to 0. You should check the container logs for error messages and allow PHP to show error messages when you are not in production environment.

OFFTOPIC about the extension installer

Wow. Good to know someone started a project like this. 2 years before that project I created my PHP images with a feature like this and I planned to move that feature out of the main project, but I never did that :).

Thank you very much.
It can work.