ripe87/Dockerfile
Erki Aas 7c21b0df66
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
Add Dockerfile and .woodpecker.yml
2023-11-19 16:35:49 +02:00

10 lines
336 B
Docker

FROM betterweb/hugo AS build
WORKDIR /build
COPY ./ ./
RUN hugo --gc --minify
RUN find public -type f -regex '.*\.\(css\|html\|js\|txt\|xml\)$' -exec gzip -f -k {} \;
RUN find public -type f -regex '.*\.\(css\|html\|js\|txt\|xml\)$' -exec brotli -f -k {} \;
FROM jitesoft/lighttpd AS run
COPY --from=build /build/public /var/www/html/