Update DOCKERFILE
Some checks failed
rtj.dev Build and Deploy / Build-and-Deploy (push) Failing after 6s
Some checks failed
rtj.dev Build and Deploy / Build-and-Deploy (push) Failing after 6s
This commit is contained in:
@ -1,7 +1,5 @@
|
|||||||
FROM floryn90/hugo:0.146.5-alpine-onbuild as hugo
|
FROM floryn90/hugo:0.146.5-alpine-onbuild as hugo
|
||||||
USER root
|
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/
|
Reference in New Issue
Block a user