ada.wf/Dockerfile

13 lines
313 B
Text
Raw Permalink Normal View History

FROM ghcr.io/getzola/zola:v0.19.2 as zola
2024-03-03 22:27:28 +01:00
COPY . /project
WORKDIR /project
RUN ["zola", "build"]
FROM tdewolff/minify:v2.21.2 as minify
2024-11-16 15:42:44 +01:00
COPY --from=zola /project/public /public
RUN minify -r -a -o public/ public
FROM ghcr.io/static-web-server/static-web-server:2.34
2024-03-03 22:27:28 +01:00
WORKDIR /
2024-11-16 15:42:44 +01:00
COPY --from=minify /public /public