From b1a09df267c92428175a7def0f601df249a3053e Mon Sep 17 00:00:00 2001 From: vanten-s Date: Sun, 21 Jul 2024 22:37:18 +0200 Subject: [PATCH] Testtt --- Dockerfile | 5 ++++- entrypoint.sh | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 entrypoint.sh diff --git a/Dockerfile b/Dockerfile index 5a2de0f..58f1a9e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,4 +4,7 @@ WORKDIR /src RUN apk add hugo -CMD cd $1; hugo +ADD *.sh / + +ENTRYPOINT ["/entrypoint.sh"] +CMD ["--help"] diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100644 index 0000000..c950f71 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +cd "$1" +hugo +