uwsgi: unrecognized option: socket

I try to run Django project using uwsgi in docker container, and deploy it to ECS Container. When I try to login admin site I couldn’t able to login and Cloudwatch send this log

uwsgi: unrecognized option: socket
getopt_long() error

In docker file I run uwsgi using this command.

CMD ["uwsgi", "--socket", "--protocol=http", "--module bghd.wsgi”]

So I changed command little bit differently but still get similar error.
CMD ["uwsgi", "--http :80", "--module bghd.wsgi"]

I’m using Alpine for OS

Source: StackOverflow