FROM python:3.7-slim

# pip install
COPY requirements.txt /scripts/requirements.txt
RUN pip install -r /scripts/requirements.txt

# only for local testing
COPY src/register.py /scripts/register.py

# will be overwritten by kf pipeline
ENTRYPOINT [ "python", "/scripts/register.py" ]
