All checks were successful
Build and Push Docker Container / build-and-push (push) Successful in 1m59s
16 lines
307 B
Docker
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"]
|