Files
rezepte/Dockerfile

14 lines
310 B
Docker
Raw Normal View History

2024-12-14 16:34:28 +01:00
# Compile the hugo site
FROM klakegg/hugo:ext-alpine AS builder
WORKDIR /app
COPY ./hugo .
RUN hugo --minify --destination /output
2024-12-14 16:34:28 +01:00
# 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"]