Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
Deeplabcut
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RC Data Science
community-containers
Deeplabcut
Commits
193e2beb
Commit
193e2beb
authored
9 months ago
by
Prema Soundararajan
Browse files
Options
Downloads
Patches
Plain Diff
update2
parent
6db15380
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#11940
failed
9 months ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+13
-10
13 additions, 10 deletions
Dockerfile
with
13 additions
and
10 deletions
Dockerfile
+
13
−
10
View file @
193e2beb
...
@@ -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"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment