mirror of
https://github.com/tiennm99/miti99.git
synced 2026-09-16 18:22:24 +00:00
Update Dockerfile
This commit is contained in:
+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