Error when docker-compose "/usr/local/bin/python: error while loading shared libraries: libpython3.8.so.1.0: "

Hi i tried run my project with docker, the problem ocurred when i build the image, i use the commando
“whereis python” and recive the path of directory but i build the image and the error is the next:

/usr/local/bin/python: error while loading shared libraries: libpython3.8.so.1.0: cannot open shared object file: No such file or directory

I use manjaro, the problem is the folder /usr/local/bin/python dont exist, I try modified the file

/usr/local/bin/python

and add the path of python which is

include /usr/lib/python3.8/

the Dockerfile

FROM python:3.9.0b1-alpine3.11
WORKDIR /cloud
ENV FLASK_APP Server.py
ENV FLASK_RUN_HOST 0.0.0.0
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY . .
CMD ["flask","run"]

the docker-compose

version: '3'

services:
  cloud-flask-back:
    build: ./Flask
    ports:
        - "5000:5000"
  redis:
    image: "redis:alpine"

I hope you can help me

Source: StackOverflow