mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-27 21:32:02 +08:00
22 lines
470 B
Docker
22 lines
470 B
Docker
FROM alpine:3.20.3
|
|
LABEL maintainer="signoz"
|
|
WORKDIR /root
|
|
|
|
ARG OS="linux"
|
|
ARG TARGETARCH
|
|
|
|
RUN apk update && \
|
|
apk add ca-certificates && \
|
|
rm -rf /var/cache/apk/*
|
|
|
|
|
|
COPY ./target/${OS}-${TARGETARCH}/signoz-community /root/signoz
|
|
COPY ./conf/prometheus.yml /root/config/prometheus.yml
|
|
COPY ./templates/email /root/templates
|
|
COPY frontend/build/ /etc/signoz/web/
|
|
|
|
RUN chmod 755 /root /root/signoz
|
|
|
|
ENTRYPOINT ["./signoz"]
|
|
CMD ["-config", "/root/config/prometheus.yml"]
|