standard_init_linux.go:211: exec user process caused "exec format error" when build tiktokapi:latest [duplicate]

trying to build

docker build . -t tiktokapi:latest and get this error message:

Step 2/4 : RUN apt-get update && apt-get install -y python3-pip
—> Running in e46c478aadab
standard_init_linux.go:211: exec user process caused "exec format error"

I am new to doker so how can I fix this.

Source: Docker Questions