From f77c7447a9b7fc5e1ec793cf80637f78ddbb001b Mon Sep 17 00:00:00 2001 From: decentral1se Date: Tue, 30 Mar 2021 21:50:52 +0200 Subject: [PATCH] Trying to fix that build --- Dockerfile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 430bcc3..fe5799d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,13 @@ -FROM klakegg/hugo:latest-ext +FROM klakegg/hugo:ext-debian -EXPOSE 1313 +RUN apt update && apt install -y curl git python3 + +EXPOSE 8000 COPY . /src/ -CMD ["server", "--bind", "0.0.0.0", "--environment", "production", "--disableLiveReload", "--baseURL", "https://cloud.autonomic.zone"] +RUN git submodule update --init --recursive + +ENTRYPOINT ["/bin/bash"] + +CMD ["-c", "hugo && python3 -m http.server --bind 0.0.0.0 --directory public 8000"]