diff --git a/Dockerfile b/Dockerfile index cc79367..08ce5f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM debian:11 as source # Install dependencies +ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && \ apt-get install -y imagemagick ca-certificates git wget @@ -14,10 +15,12 @@ RUN wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hug # Copy site source WORKDIR /src -COPY . . +COPY . ./ + +RUN ls -lah # Initialize submodules, like themes -RUN git submodule update --init --recursive +# RUN git submodule update --init --recursive # Generate the site into /src/public RUN /usr/local/bin/hugo