Error in docker build mirroring process

  docker, question

The error was reported as follows:
container_linux.go:247: starting container process caused “exec: “/bin/sh”: stat /bin/sh: no such file or directory”

Dockerfile reads as follows:

FROM tiangolo/uwsgi-nginx:latest
 MAINTAINER Sebastian Ramirez  < >
 # Add app configuration to Nginx
 COPY nginx.conf /etc/nginx/conf.d/
 # install redis and start
 COPY /tmp/
 RUN chmod +x /tmp/
 RUN /bin/sh /tmp/
 COPY /tmp/
 RUN chmod +x /tmp/
 # install mongodb
 # Create the MongoDB data directory
 RUN mkdir -p /data/db
 # Import MongoDB public GPG key AND create a MongoDB list file
 RUN apt-key adv --keyserver hkp:// --recv 7F0CEB10
 RUN echo 'deb dist 10gen' | tee /etc/apt/sources.list.d/10gen.list
 # Update apt-get sources AND install MongoDB
 RUN apt-get update
 RUN apt-get install -y -q mongodb-org ;  echo 'after'
 COPY requirement.txt /tmp/
 RUN pip install -r /tmp/requirement.txt
 ENTRYPOINT ["/bin/bash"]

Found while executing docker build -t debug.
I don’t know what went wrong. I hope everyone can help me look at it.

Can you post a complete error message? Your error message was changed to /bin/bash when docker run was the container