Trollface: Self-hosted, lightweight server and website monitoring and O&M tool
docker pull nezhahq/nezha:latest
docker run -d --name nezha -p 8008:8008 --restart always nezhahq/nezha:latest
podman run -d --name nezha -p 8008:8008 --restart always nezhahq/nezha:latest
skopeo inspect docker://docker.io/nezhahq/nezha:latest
oras pull nezhahq/nezha:latest
FROM alpine AS depend
RUN apk add --update --no-cache ca-certificates tzdata
FROM busybox:stable-musl
ARG TARGETOS
ARG TARGETARCH
COPY --from=depend /etc/ssl/certs /etc/ssl/certs
COPY --from=depend /usr/share/zoneinfo /usr/share/zoneinfo
COPY ./script/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
WORKDIR /dashboard
COPY dist/dashboard-${TARGETOS}-${TARGETARCH} ./app
VOLUME ["/dashboard/data"]
EXPOSE 8008
ARG TZ=Asia/Shanghai
ENV TZ=$TZ
ENTRYPOINT ["/entrypoint.sh"]