FROM python:3.9

WORKDIR /usr/src/app

COPY requirements.txt ./
COPY namespaces.yaml /data/namespaces.yaml
RUN pip install --no-cache-dir -r requirements.txt

CMD [ "flask", "run", "-h", "0.0.0.0" ]
