From 78e00c2fccb6a703cecd8c6c8d29cd15cc2827fe Mon Sep 17 00:00:00 2001 From: piecka Date: Thu, 27 Feb 2025 08:47:12 +0100 Subject: [PATCH] addet some documentation --- basics/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/basics/Dockerfile b/basics/Dockerfile index 8fca97d..a8af892 100644 --- a/basics/Dockerfile +++ b/basics/Dockerfile @@ -1,12 +1,17 @@ # Dokumenation: https://docs.docker.com/reference/dockerfile/ +# ─< Image to start from >─────────────────────────────────────────────────────────────────── # FROM debian:trixie-slim FROM archlinux:latest +# ─< Change the current working directory >────────────────────────────────────────────────── WORKDIR /root/app +# ─< copy a file/script into the container -> to workdir >─────────────────────────────────── COPY ./test.sh . +# ─< making the script executable >────────────────────────────────────────────────────────── RUN chmod +x test.sh +# ─< make the script the entrypoint >──────────────────────────────────────────────────────── ENTRYPOINT ["/bin/bash", "-c", "/root/app/test.sh"]