Dockerfile (EN)

Term

Text file that defines the steps to create a Docker image

Dockerfile Architecture

flowchart TD     A[Dockerfile] --> B[Basis-Image
FROM ubuntu:20.04] A --> C[Kopieren von Dateien
COPY . /app] A --> D[Befehle ausführen
RUN apt-get install] A --> E[Startbefehl
CMD ["python", "app.py"]] B --> F[Docker-Image] C --> F D --> F E --> F F --> G[Docker-Container]

In Context

  • Typically used together with Docker Compose
  • Related to: Docker Image, Docker Container, Docker Build
  • Example use: Creation of microservices in CI/CD pipelines
Quelle: AI Generated