Dockerfile 439 B

12345678910
  1. FROM klakegg/hugo:0.111.3-ext-alpine as docsy-user-guide
  2. RUN apk update
  3. RUN apk add git
  4. COPY package.json /app/docsy/userguide/
  5. WORKDIR /app/docsy/userguide/
  6. RUN npm install --production=false
  7. RUN git config --global --add safe.directory /app/docsy
  8. CMD ["serve", "--cleanDestinationDir", "--themesDir", "../..", "--baseURL", "http://localhost:1313/", "--buildDrafts", "--buildFuture", "--disableFastRender", "--ignoreCache", "--watch"]