From c027c1529e4ddc22873f610fcf8b197a162a37f2 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Tue, 1 Nov 2022 13:51:03 +0100 Subject: [PATCH] [Dockerfile] Fixed entrypoint --- Dockerfile.linux.amd64 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile.linux.amd64 b/Dockerfile.linux.amd64 index ed1389c..1c63418 100644 --- a/Dockerfile.linux.amd64 +++ b/Dockerfile.linux.amd64 @@ -19,4 +19,11 @@ RUN set -e \ && git clone https://git.simoncor.net/siempie/start.simoncor.net.git /site/ EXPOSE 8080 -ENTRYPOINT ["/usr/local/bin/hugo", "server", "--baseUrl='start.simoncor.net'", "--bind='0.0.0.0'", "--contentDir='/site/'", "--port 8080", "--theme slate"] +ENTRYPOINT ["/usr/local/bin/hugo", "server"] +CMD [ + - "--baseUrl=start.simoncor.net" + - "--bind=0.0.0.0", + - "--port 8080", + - "--source=/site/", + - "--theme slate" +]