prometheus-server-app/Dockerfile
Girish Ramakrishnan 8cbcc955dc Update base image
2023-09-30 08:33:31 +05:30

12 lines
397 B
Docker

FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768ba473078319a47f4
RUN mkdir -p /app/code /app/pkg
WORKDIR /app/code
ARG VERSION=2.47.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" ]