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"]