FROM python:3.7

# Copy essentials in to install requirements
COPY ./setup.py ./meta.json ./requirements.txt ./README.md /code/
COPY ./benchmark/requirements.txt /code/benchmark/requirements.txt

# Install dependencies
WORKDIR /code
RUN pip install -e '.[augment,tokenize]' \
    && pip install -r requirements.txt \
    && pip install -r benchmark/requirements.txt

# Copy the rest of the repository in
COPY ./ /code

ENTRYPOINT ["python", "run_benchmarks.py"]
