Add Dockerfile and .woodpecker.yml
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
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/
|
Reference in New Issue
Block a user