mirror of
https://github.com/kemko/reproxy.git
synced 2026-01-03 16:55:52 +03:00
16 lines
369 B
Docker
16 lines
369 B
Docker
FROM --platform=$BUILDPLATFORM squidfunk/mkdocs-material as build
|
|
|
|
WORKDIR /build
|
|
COPY site/ /build/
|
|
COPY README.md /build/docs/index.md
|
|
|
|
RUN sed -i 's|^.*/workflows/ci.yml.*$||' /build/docs/index.md
|
|
RUN mkdocs build
|
|
|
|
|
|
FROM ghcr.io/umputun/reproxy
|
|
COPY --from=build /build/site /srv/site
|
|
EXPOSE 8080
|
|
USER app
|
|
ENTRYPOINT ["/srv/reproxy", "--assets.location=/srv/site"]
|