Files
personal-website/Dockerfile
Elias Kohout ecd83d9b79
All checks were successful
Build and Push Docker Container / build-and-push (push) Successful in 1m59s
add projects page; move to hugo;
2026-02-12 14:38:32 +01:00

16 lines
307 B
Docker

# ── Build ──
FROM hugomods/hugo:latest AS builder
WORKDIR /src
COPY ./hugo/eliaskohout.de .
RUN hugo --minify
# ── Serve ──
FROM alpine:latest
WORKDIR /www
COPY --from=builder /src/public /www
RUN apk add --no-cache busybox-extras
EXPOSE 80
CMD ["httpd", "-f", "-p", "80", "-h", "/www"]