prometheus-server-app/Dockerfile
2024-06-19 12:00:31 +02:00

12 lines
397 B
Docker

FROM cloudron/base:5.0.0@sha256:6bec2b5246567ef8b5b13ca0af756e2e596941e440d76b46635211cd84383922
RUN mkdir -p /app/code /app/pkg
WORKDIR /app/code
ARG VERSION=2.53.0
RUN curl -L https://github.com/prometheus/prometheus/releases/download/v${VERSION}/prometheus-${VERSION}.linux-amd64.tar.gz | tar zxvf - --strip-components 1
COPY env.sh.template start.sh /app/pkg/
CMD [ "/app/pkg/start.sh" ]