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

add Dockerfile

parent 09405648
No related branches found
No related tags found
No related merge requests found
# Use an official Python runtime as a parent image
FROM python:3.8-slim
# 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]"
# Set the entrypoint to 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