FROM python:3.10

# copy the dependencies file to the working directory
COPY requirements.txt .

# install dependencies
RUN pip install --upgrade pip setuptools wheel
RUN pip install -r requirements.txt
RUN pip install ont-tombo ont_fast5_api

# clone git nanosplicer
RUN git clone https://github.com/shimlab/NanoSplicer.git

WORKDIR /NanoSplicer/bin

# command to run on container start
CMD [ "bash" ]