Skip to content

Commit

Permalink
change user in build stage
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel S <[email protected]>
  • Loading branch information
sybnex committed Nov 13, 2024
1 parent 26e0a13 commit 94e638b
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
@@ -1,7 +1,7 @@
FROM docker.io/floryn90/hugo:0.138.0-ext-ubuntu AS builder

ARG TRAINING_HUGO_ENV=default

USER root
COPY . /src

RUN hugo --environment ${TRAINING_HUGO_ENV} --minify
Expand Down

0 comments on commit 94e638b

Please sign in to comment.