diff --git a/Dockerfile b/Dockerfile index 32bbbae..a24c724 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,10 @@ -FROM peaceiris/hugo:v0.124.0 AS builder +FROM hugomods/hugo:exts-0.124.0 AS builder WORKDIR /srv/hugo COPY . . RUN chown 1000:1000 -R /srv/hugo RUN hugo --gc --minify FROM nginx:alpine - COPY --from=builder /srv/hugo/public /usr/share/nginx/html - EXPOSE 80 - CMD ["nginx", "-g", "daemon off;"]