blog/Dockerfile
Renovate Bot 469e00d1c2
All checks were successful
Test / check (push) Successful in 6s
deps: Update nginx Docker tag to v1.30
2026-11-12 22:22:41 +00:00

15 lines
493 B
Docker

# Keep in step with the zola in flake.nix (tests, local serve); Renovate
# leaves this pin alone (renovate.json). 0.23 changes config.toml.
FROM ghcr.io/getzola/zola:v0.22.1 AS build
COPY . /project
WORKDIR /project
RUN ["zola", "build"]
FROM nginx:1.30-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /project/public /usr/share/nginx/html
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
CMD wget -qO /dev/null http://127.0.0.1/ || exit 1