set user in Dockerfile
- Getting a permissions error during the build.
This commit is contained in:
parent
ef6b699072
commit
679be95feb
@ -4,6 +4,7 @@ ARG CADDY_VERSION="2.10.0"
|
||||
|
||||
# Stage 1: Build
|
||||
FROM ghcr.io/gohugoio/hugo:${HUGO_VERSION} AS builder
|
||||
USER hugo:hugo
|
||||
WORKDIR /project
|
||||
COPY . .
|
||||
RUN hugo build
|
||||
|
Loading…
x
Reference in New Issue
Block a user