mirror of
https://github.com/kemko/reproxy.git
synced 2026-01-01 15:55:49 +03:00
simplify Dockerfile.site, eliminate copy commands
This commit is contained in:
@@ -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
|
||||
|
||||
|
Before Width: | Height: | Size: 169 B After Width: | Height: | Size: 169 B |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Reference in New Issue
Block a user