examples/pytest-app-factory/Dockerfile
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