Dockerfile parameters
- FROM: Specifies the base image.
- WORKDIR: Sets the working directory inside the container.
- RUN: Executes commands during the build process.
- CMD: Specifies the default command to run on container start.
- EXPOSE: Informs Docker that the container will listen on the specified network ports at runtime.
- ENTRYPOINT: Specifies the command to run when the container starts.
- ENV: Sets environment variables.
- LABEL: Adds metadata to the image.
- ADD/COPY: Copies files into the container.
- ARG: Defines build-time arguments.
- HEALTHCHECK: Specifies a command to check the health of the application.
- VOLUME: Creates a mount point and specifies that it should be a volume.
- USER: Sets the user for subsequent commands.
- ONBUILD: Executes additional commands when the image is used as a base image.
- MAINTAINER: Specifies the maintainer of the image (though it’s recommended to use LABEL instead).