mirror of
https://github.com/tiennm99/miti99.git
synced 2026-05-20 10:24:48 +00:00
10 lines
220 B
Docker
10 lines
220 B
Docker
FROM ghcr.io/gohugoio/hugo:v0.140.2 AS builder
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN hugo --gc --minify
|
|
|
|
FROM nginx:alpine AS runner
|
|
COPY --from=builder /app/public /usr/share/nginx/html
|
|
EXPOSE 80
|
|
CMD ["nginx", "-g", "daemon off;"]
|