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 +