docker run vs cmd code example
Example 1: entrypoint vs command docker-compose
sudo nano Dockerfile
Example 2: dockerfile run app cmd
RUN apt-get install python3
CMD echo "Hello world"
ENTRYPOINT echo "Hello world"
sudo nano Dockerfile
RUN apt-get install python3
CMD echo "Hello world"
ENTRYPOINT echo "Hello world"