docs/Dockerfile
Nicolai Ort 0032df1862
Some checks failed
Build latest image / build-container (push) Failing after 13s
feat(docker): Include .git directory in Docker image for version control
2025-03-22 22:59:47 +01:00

9 lines
150 B
Docker

FROM hugomods/hugo:exts AS build
WORKDIR /app
COPY . /app/
COPY .git /app/.git
RUN hugo
FROM hugomods/hugo:nginx
COPY --from=build /app/public /site