diff --git a/Dockerfile b/Dockerfile index 44393f1..bc948cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,13 @@ -FROM ghcr.io/getzola/zola:v0.19.1 as zola +FROM ghcr.io/getzola/zola:v0.19.1 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.32 WORKDIR / -COPY --from=zola /project/public /public \ No newline at end of file +COPY --from=minify /public /public \ No newline at end of file diff --git a/static/codeberg.svg b/static/codeberg.svg index 028b729..1b0ff1b 100644 --- a/static/codeberg.svg +++ b/static/codeberg.svg @@ -1,164 +1 @@ - - - Codeberg logo - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - Codeberg logo - - - - Robert Martinez - - - - - Codeberg and the Codeberg Logo are trademarks of Codeberg e.V. - - - 2020-04-09 - - - Codeberg e.V. - - - codeberg.org - - - - - - - - - - - - - + \ No newline at end of file diff --git a/static/forgejo.svg b/static/forgejo.svg index 6b46a4a..b856343 100644 --- a/static/forgejo.svg +++ b/static/forgejo.svg @@ -1,40 +1 @@ - - - - - Forgejo logo - Caesar Schinas - - - - - - - - - - - - - + \ No newline at end of file