ada.wf/Dockerfile
Ada f31d4cefe3
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Merge pull request 'Update tdewolff/minify Docker tag to v2.21.2' (#10) from renovate/tdewolff-minify-2.x into main
Reviewed-on: #10
2024-12-06 02:44:43 +01:00

13 lines
No EOL
313 B
Docker

FROM ghcr.io/getzola/zola:v0.19.2 as zola
COPY . /project
WORKDIR /project
RUN ["zola", "build"]
FROM tdewolff/minify:v2.21.2 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.34
WORKDIR /
COPY --from=minify /public /public