feat(Dockerfile): added

This commit is contained in:
Paul Fey 2025-06-01 14:02:39 +02:00
parent c1da6bb79c
commit 08366ec055

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM hugomods/hugo:exts as builder
ARG HUGO_BASEURL=https://pauljako.de
ENV HUGO_BASEURL=${HUGO_BASEURL}
COPY . /src
RUN hugo --minify --enableGitInfo
# Copy the generated files to keep the image as small as possible.
FROM hugomods/hugo:nginx
COPY --from=builder /src/public /site