run a command in dockerfile code example
Example 1: docker run command on container
sudo docker exec -it <container name> <command>
Example 2: dockerfile run app cmd
RUN apt-get install python3
CMD echo "Hello world"
ENTRYPOINT echo "Hello world"