Aug 9, 2024
FROM
: Specify the base image.COPY
: Copy files into the container.RUN
: Execute commands during the image build.CMD
: Define the command to run when the container starts.docker build
command to create an image from a Dockerfile.docker run
command with specified image and ports for accessibility.