.
Some checks are pending
Build and Push Docker Container / build-and-push (push) Waiting to run

This commit is contained in:
2025-03-14 20:05:22 +01:00
parent d3ceabc314
commit b2d3f38bee
12 changed files with 74 additions and 16 deletions

View File

@@ -2,12 +2,12 @@
FROM klakegg/hugo:ext-alpine AS builder
WORKDIR /app
COPY ./hugo .
RUN hugo --minify --destination /output
RUN hugo --minify --destination ./public
# Setup deployment
FROM alpine:latest
WORKDIR /www
COPY --from=builder /output /www
COPY --from=builder /app/public /www
RUN apk add --no-cache busybox-extras
EXPOSE 80
CMD ["httpd", "-f", "-p", "80", "-h", "/www"]