added dockerfile

This commit is contained in:
BroodjeAap 2025-03-11 19:22:05 +00:00
parent 8f665c0492
commit ce982b5fa1

10
Dockerfile Normal file
View file

@ -0,0 +1,10 @@
FROM bitnami/minideb:latest as builder
RUN install_packages hugo git ca-certificates
RUN git clone https://github.com/broodjeaap/hugo-website.git
WORKDIR /hugo-website
RUN hugo --config ./config.toml --destination /html
FROM nginx:1.27.4-alpine as prod
COPY --from=builder /html /usr/share/nginx/html