things needed in docker file code example
Example: docker file
# getting base image from ubuntu
FROM ubuntu:18.04
RUN apt-get update
CMD ["echo", "HEY from docker image"]
# getting base image from ubuntu
FROM ubuntu:18.04
RUN apt-get update
CMD ["echo", "HEY from docker image"]