ada.wf/Dockerfile

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.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.34
WORKDIR /
COPY --from=minify /public /public