update
dongho-repo/blog/pipeline/head There was a failure building this commit

This commit is contained in:
Dongho Kim
2026-06-02 18:07:37 +02:00
parent 6091ff999f
commit eae4b17feb
3 changed files with 50 additions and 8 deletions
+11
View File
@@ -0,0 +1,11 @@
# Stage 1: Build the static site using Hugo
FROM hugomods/hugo:latest AS builder
WORKDIR /src
COPY . .
# Run hugo build to compile markdown into static HTML/CSS/JS in the public/ folder
RUN hugo --minify
# Stage 2: Serve the compiled static site using Nginx
FROM nginx:alpine
COPY --from=builder /src/public /usr/share/nginx/html
EXPOSE 80