Files
rezepte/Dockerfile
Elias Kohout eb66bb46a7
Some checks are pending
Build and Push Docker Container / build-and-push (push) Waiting to run
add .gitignore, remove .DS_Store, change to busybox webserver
2025-03-14 17:47:32 +01:00

14 lines
310 B
Docker

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