simplify Dockerfile.site, eliminate copy commands

This commit is contained in:
Umputun
2022-08-08 16:53:53 -05:00
parent 0af7807e36
commit e1e99fe9b8
4 changed files with 1 additions and 5 deletions

View File

@@ -1,16 +1,12 @@
FROM --platform=$BUILDPLATFORM squidfunk/mkdocs-material as build
WORKDIR /build
COPY README.md /build/docs/index.md
COPY site/styles.css /build/docs/stylesheets/extra.css
COPY site/ /build/
COPY README.md /build/docs/index.md
RUN sed -i 's|^.*/workflows/ci.yml.*$||' /build/docs/index.md
RUN mkdocs build
COPY site/favicon.svg /build/site/
COPY site/logo.png /build/site/
FROM ghcr.io/umputun/reproxy
COPY --from=build /build/site /srv/site

View File

Before

Width:  |  Height:  |  Size: 169 B

After

Width:  |  Height:  |  Size: 169 B

View File

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB