FROM python:3.9

WORKDIR /code
ENV HOME=/code
# COPY ./requirements.txt /code/requirements.txt
# RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt

RUN apt install curl
RUN pip install pip -U

RUN pip install renumics-spotlight==1.6.0

RUN pip install datasets

COPY . .
RUN mkdir -p /code/.cache
RUN chmod -R 777 /code
RUN python prepare.py
CMD ["python", "run.py"]