mirror of
https://github.com/tiennm99/miti99.git
synced 2026-09-15 08:19:07 +00:00
Update Dockerfile
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user