Skip to content

Commit

Permalink
Update Docker image version
Browse files Browse the repository at this point in the history
- Bump Alpine Hugo image version to v.101.0

- Fix the error:

```
fatal: detected dubious ownership in repository at '/github/workspace'
To add an exception for this directory, call:

   git config --global --add safe.directory /github/workspace
```
  • Loading branch information
geriom committed Aug 29, 2022
1 parent 4e07338 commit d4de162
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit d4de162

Please sign in to comment.