monolith Docker & Self-Hosted Deployment

GitHub

๏ธ CLI tool and library for saving complete web pages as a single HTML file

1. Pull Image (DOCKERHUB) docker pull Y2Z/monolith:latest
2. Docker Run (1-Click Launch) docker run -d --name monolith --restart always y2z/monolith:latest
3. Podman Run podman run -d --name monolith --restart always y2z/monolith:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/y2z/monolith:latest
5. ORAS Pull (OCI Artifact) oras pull y2z/monolith:latest
Dockerfile
FROM clux/muslrust:stable as builder

RUN curl -L -o monolith.tar.gz $(curl -s https://api.github.com/repos/y2z/monolith/releases/latest \
                                 | grep "tarball_url.*\"," \
                                 | cut -d '"' -f 4)
RUN tar xfz monolith.tar.gz \
    && mv Y2Z-monolith-* monolith \
    && rm monolith.tar.gz

WORKDIR monolith/
RUN make install


FROM alpine

COPY --from=builder /root/.cargo/bin/monolith /usr/bin/monolith
WORKDIR /tmp
ENTRYPOINT ["/usr/bin/monolith"]