Update Dockerfile

This commit is contained in:
2024-11-30 19:03:47 +07:00
parent d9501e7eb7
commit fa21952f3e
+1 -2
View File
@@ -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