Newer
Older
# Set the working directory in the container
WORKDIR /app
# Install git
RUN apt-get update && apt-get install -y git
# Clone the DeepLabCut repository
RUN git clone https://github.com/DeepLabCut/DeepLabCut.git
# Change the working directory to DeepLabCut
WORKDIR /app/DeepLabCut
# Create a virtual environment and activate it
RUN python3 -m venv venv
# Install dependencies
RUN /bin/bash -c "source venv/bin/activate && pip install -r requirements.txt && pip install .[gui]"
RUN pip install --upgrade typing-extensions==4.5.0
RUN pip install --upgrade matplotlib
# Set the entrypoint to bash
ENTRYPOINT ["/bin/bash"]