ada.wf/Dockerfile
Ada 4d569fe7ef
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Minify website
2024-11-16 15:42:44 +01:00

13 lines
No EOL
313 B
Docker

FROM ghcr.io/getzola/zola:v0.19.1 as zola
COPY . /project
WORKDIR /project
RUN ["zola", "build"]
FROM tdewolff/minify:v2.21.1 as minify
COPY --from=zola /project/public /public
RUN minify -r -a -o public/ public
FROM ghcr.io/static-web-server/static-web-server:2.32
WORKDIR /
COPY --from=minify /public /public