Update Dockerfile

This commit is contained in:
tiennm99 committed 2024-09-14 18:49:14 +07:00
1 parent 498a22d3f2
commit 4b18d748e0
1 file changed
+1 -1
+1 -1
View File
@@ -2,7 +2,7 @@ FROM hugomods/hugo:exts-0.124.0 AS builder
WORKDIR /srv/hugo
COPY . .
RUN chown 1000:1000 -R /srv/hugo
RUN hugo --gc --minify
RUN hugo --gc --minify --baseURL "/"
FROM nginx:alpine
COPY --from=builder /srv/hugo/public /usr/share/nginx/html