rycus86/prometheus_flask_exporter

View on GitHub
examples/pytest-app-factory/Dockerfile

Summary

Maintainability
Test Coverage
FROM python:3.11-alpine

RUN pip install flask pytest

ADD . /tmp/latest
RUN pip install -e /tmp/latest --upgrade

ENV PROMETHEUS_MULTIPROC_DIR /tmp
ENV prometheus_multiproc_dir /tmp
ENV PYTHONPATH=/data

ADD ./examples/pytest-app-factory /data
WORKDIR /data