diff --git a/Dockerfile b/Dockerfile index 54b4a7af84..9a2289f775 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,10 @@ -FROM klakegg/hugo:0.95.0-ext-alpine as docsy-user-guide +FROM klakegg/hugo:0.101.0-ext-alpine as docsy-user-guide RUN apk update RUN apk add git COPY package.json /app/docsy/userguide/ WORKDIR /app/docsy/userguide/ RUN npm install --production=false +RUN git config --global --add safe.directory /app/docsy -CMD ["serve", "--cleanDestinationDir", "--themesDir ../..", "--baseURL http://localhost:1313/", "--buildDrafts", "--buildFuture", "--disableFastRender", "--ignoreCache", "--watch"] +CMD ["serve", "--cleanDestinationDir", "--themesDir", "../..", "--baseURL", "http://localhost:1313/", "--buildDrafts", "--buildFuture", "--disableFastRender", "--ignoreCache", "--watch"]