Skip to content

Commit

Permalink
docker: Fix /project being owned by root
Browse files Browse the repository at this point in the history
Signed-off-by: David Karlsson <[email protected]>
  • Loading branch information
dvdksn committed Oct 21, 2024
1 parent 6eb9afd commit 5101a5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ RUN mkdir -p /var/hugo/bin /cache && \
# See https://github.com/gohugoio/hugo/issues/9810
runuser -u hugo -- git config --global core.quotepath false

USER hugo:hugo
VOLUME /project
WORKDIR /project
USER hugo:hugo
ENV HUGO_CACHEDIR=/cache
ENV PATH="/var/hugo/bin:$PATH"

Expand Down

0 comments on commit 5101a5d

Please sign in to comment.