examples/flask-multi-processes/Dockerfile
FROM python:3.11-alpine
RUN apk add --no-cache curl \
&& pip install flask prometheus_client
ADD . /tmp/latest
RUN pip install -e /tmp/latest --upgrade
ADD examples/flask-multi-processes /var/flask
WORKDIR /var/flask
ENV PROMETHEUS_MULTIPROC_DIR /tmp
CMD python /var/flask/processes_example.py