mirror of
https://github.com/tiennm99/blog.git
synced 2026-10-13 12:14:14 +00:00
Update Dockerfile
This commit is contained in:
1 parent
cf33a8a17b
commit
60d5262d70
1 file changed
+1
@@ -2,6 +2,7 @@ FROM hugomods/hugo:exts-0.124.0 AS builder
|
||||
WORKDIR /srv/hugo
|
||||
COPY . .
|
||||
RUN chown 1000:1000 -R /srv/hugo
|
||||
ARG BASE_URL
|
||||
RUN hugo --gc --minify --cleanDestinationDir --baseURL "${BASE_URL}"
|
||||
|
||||
FROM nginx:alpine
|
||||
|
||||
Reference in new issue
Block a user