Update DOCKERFILE
rtj.dev Build and Deploy / Build-and-Deploy (push) Failing after 11s Details

This commit is contained in:
Roland Thomas Jr 2025-04-15 23:47:48 -04:00
parent 796773017b
commit 10773e44d3
Signed by: roland
GPG Key ID: 7C3C2B085A4C2872
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
FROM floryn90/hugo:ext-alpine-onbuild as hugo FROM floryn90/hugo:0.146.5-alpine-onbuild as hugo
USER root
RUN chown -R hugo:hugo /src
USER hugo
FROM nginx FROM nginx
COPY --from=hugo /target /usr/share/nginx/html COPY --from=hugo /target /usr/share/nginx/html
COPY default.conf /etc/nginx/conf.d/ COPY default.conf /etc/nginx/conf.d/