how to build and run a dockerfile code example
Example 1: docker build
docker build -t [tag] .
Example 2: dockerfile run app cmd
RUN apt-get install python3
CMD echo "Hello world"
ENTRYPOINT echo "Hello world"
docker build -t [tag] .
RUN apt-get install python3
CMD echo "Hello world"
ENTRYPOINT echo "Hello world"