Skip to content

Commit

Permalink
simplify Dockerfile.site, eliminate copy commands
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Aug 8, 2022
1 parent 0af7807 commit e1e99fe
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile.site
Original file line number Diff line number Diff line change
@@ -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
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes.

0 comments on commit e1e99fe

Please sign in to comment.