Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
Deeplabcut
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
cae3d2cc
Commit
cae3d2cc
authored
7 months ago
by
Prema Soundararajan
Browse files
Options
Downloads
Patches
Plain Diff
add Dockerfile
parent
09405648
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+23
-0
23 additions, 0 deletions
Dockerfile
with
23 additions
and
0 deletions
Dockerfile
0 → 100644
+
23
−
0
View file @
cae3d2cc
# 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"]
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