ada.wf/Dockerfile

13 lines
313 B
Text
Raw Normal View History

2024-11-16 15:42:44 +01:00
FROM ghcr.io/getzola/zola:v0.19.1 as zola
2024-03-03 22:27:28 +01:00
COPY . /project
WORKDIR /project
RUN ["zola", "build"]
2024-11-16 15:42:44 +01:00
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.33
2024-03-03 22:27:28 +01:00
WORKDIR /
2024-11-16 15:42:44 +01:00
COPY --from=minify /public /public