FROM python:3.9-slim

COPY ./python/example/docker_demo_scheduling/requirements.txt ./requirements.txt

ENV PIP_EXTRA_INDEX_URL=https://pypi.numerously.com/simple/

RUN pip install -r ./requirements.txt

COPY ./python/client ./client

RUN pip install ./client

COPY ./python/example/docker_demo_scheduling ./docker_demo

CMD python ./docker_demo/src/main.py