CommencerCommencer gratuitement

Understanding a Dockerfile

You are presented the following Dockerfile without comments explaining each Docker instruction. Read and understand the Dockerfile.

FROM python:3.10

COPY . .

RUN pip install -r requirements.txt

ENTRYPOINT ["python", "hello_world.py"]

Cet exercice fait partie du cours

Containerization and Virtualization Concepts

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice