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-24 21:43:21 +01:00
|
|
|
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
|
|
|
|
|
2024-06-19 07:01:16 +02:00
|
|
|
FROM ghcr.io/static-web-server/static-web-server:2.32
|
2024-03-03 22:27:28 +01:00
|
|
|
WORKDIR /
|
2024-11-16 15:42:44 +01:00
|
|
|
COPY --from=minify /public /public
|