addet some documentation
This commit is contained in:
parent
0b3bcc5be6
commit
78e00c2fcc
1 changed files with 5 additions and 0 deletions
|
@ -1,12 +1,17 @@
|
||||||
# Dokumenation: https://docs.docker.com/reference/dockerfile/
|
# Dokumenation: https://docs.docker.com/reference/dockerfile/
|
||||||
|
|
||||||
|
# ─< Image to start from >───────────────────────────────────────────────────────────────────
|
||||||
# FROM debian:trixie-slim
|
# FROM debian:trixie-slim
|
||||||
FROM archlinux:latest
|
FROM archlinux:latest
|
||||||
|
|
||||||
|
# ─< Change the current working directory >──────────────────────────────────────────────────
|
||||||
WORKDIR /root/app
|
WORKDIR /root/app
|
||||||
|
|
||||||
|
# ─< copy a file/script into the container -> to workdir >───────────────────────────────────
|
||||||
COPY ./test.sh .
|
COPY ./test.sh .
|
||||||
|
|
||||||
|
# ─< making the script executable >──────────────────────────────────────────────────────────
|
||||||
RUN chmod +x test.sh
|
RUN chmod +x test.sh
|
||||||
|
|
||||||
|
# ─< make the script the entrypoint >────────────────────────────────────────────────────────
|
||||||
ENTRYPOINT ["/bin/bash", "-c", "/root/app/test.sh"]
|
ENTRYPOINT ["/bin/bash", "-c", "/root/app/test.sh"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue