mirror of
https://github.com/tiennm99/blog.git
synced 2026-10-13 00:14:14 +00:00
Update Dockerfile
This commit is contained in:
1 parent
d9501e7eb7
commit
fa21952f3e
1 file changed
+1
-2
+1
-2
@@ -1,8 +1,7 @@
|
||||
FROM ghcr.io/gohugoio/hugo:v0.135.0 AS builder
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
ARG BASE_URL
|
||||
RUN hugo --gc --minify --cleanDestinationDir -b "${BASE_URL}"
|
||||
RUN hugo --gc --minify
|
||||
|
||||
FROM nginx:alpine AS runner
|
||||
COPY --from=builder /app/public /usr/share/nginx/html
|
||||
|
||||
Reference in new issue
Block a user