Update Dockerfile

This commit is contained in:
2024-09-14 18:52:26 +07:00
parent 4b18d748e0
commit d4122e820a
+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 --baseURL "/"
RUN hugo --gc --minify --cleanDestinationDir --baseURL "https://tiennm99.miti.eu.org"
FROM nginx:alpine
COPY --from=builder /srv/hugo/public /usr/share/nginx/html