mirror of
https://github.com/tiennm99/blog.git
synced 2026-10-11 12:09:02 +00:00
Update Dockerfile
This commit is contained in:
1 parent
83831a153f
commit
fc517e7a99
1 file changed
+1
-1
+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