Question · NestJS course · Module 12: Containers and CI/CD

Review: The FROM instruction in Dockerfile

What does the FROM instruction define in a Dockerfile?

Answer options

  • The command run when the container starts
  • The port the application listens on
  • The working directory inside the container
  • The base image we build upon

You can check the correct answer by solving this task in the CodeWorlds game.