Skip to content
Snippets Groups Projects
Commit 193e2beb authored by Prema Soundararajan's avatar Prema Soundararajan
Browse files

update2

parent 6db15380
No related branches found
No related tags found
No related merge requests found
Pipeline #11940 failed
...@@ -2,25 +2,28 @@ ...@@ -2,25 +2,28 @@
FROM python:3.10 FROM python:3.10
# Set the working directory in the container # Set the working directory in the container
WORKDIR /app #WORKDIR /app
# Install git # Install git
RUN apt-get update && apt-get install -y git RUN apt-get update
#&& apt-get install -y git
# Clone the DeepLabCut repository # Clone the DeepLabCut repository
RUN git clone https://github.com/DeepLabCut/DeepLabCut.git #RUN git clone https://github.com/DeepLabCut/DeepLabCut.git
# Change the working directory to DeepLabCut # Change the working directory to DeepLabCut
WORKDIR /app/DeepLabCut #WORKDIR /app/DeepLabCut
RUN pip install deeplabcut
RUN pip install tensorflow[[and-cuda]
# Create a virtual environment and activate it # Create a virtual environment and activate it
RUN python3 -m venv venv #RUN python3 -m venv venv
RUN pip install --upgrade pip #RUN pip install --upgrade pip
RUN pip install numpy<2 #RUN pip install numpy<2
# Install dependencies # Install dependencies
RUN /bin/bash -c "source venv/bin/activate && pip install -r requirements.txt && pip install .[gui]" #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 typing-extensions==4.5.0
RUN pip install --upgrade matplotlib #RUN pip install --upgrade matplotlib
# Set the entrypoint to bash # Set the entrypoint to bash
ENTRYPOINT ["/bin/bash"] ENTRYPOINT ["/bin/bash"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment