mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-17 15:36:48 +00:00
23 lines
574 B
Docker
23 lines
574 B
Docker
|
|
ARG ALPINE_SHA="pass-a-valid-docker-sha-otherwise-this-will-fail"
|
||
|
|
|
||
|
|
FROM alpine@sha256:${ALPINE_SHA}
|
||
|
|
LABEL maintainer="signoz"
|
||
|
|
WORKDIR /root
|
||
|
|
|
||
|
|
ARG OS="linux"
|
||
|
|
ARG ARCH
|
||
|
|
|
||
|
|
RUN apk update && \
|
||
|
|
apk add ca-certificates && \
|
||
|
|
rm -rf /var/cache/apk/*
|
||
|
|
|
||
|
|
COPY ./target/${OS}-${ARCH}/signoz-community /root/signoz-community
|
||
|
|
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-community
|
||
|
|
|
||
|
|
ENTRYPOINT ["./signoz-community"]
|
||
|
|
CMD ["-config", "/root/config/prometheus.yml"]
|