Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Example Profile
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RWTHjupyter
Example Profile
Commits
f74d869a
Commit
f74d869a
authored
5 years ago
by
Steffen Vogel
Browse files
Options
Downloads
Patches
Plain Diff
add example for requirements.txt
parent
ce786d7c
No related branches found
No related tags found
No related merge requests found
Pipeline
#281502
failed
5 years ago
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+4
-3
4 additions, 3 deletions
Dockerfile
requirements.txt
+1
-0
1 addition, 0 deletions
requirements.txt
with
5 additions
and
3 deletions
Dockerfile
+
4
−
3
View file @
f74d869a
...
...
@@ -2,6 +2,10 @@
ARG
BASE_IMAGE=registry.git-ce.rwth-aachen.de/jupyter/singleuser/python:latest
FROM
${BASE_IMAGE}
# Install packages via requirements.txt
ADD
/tmp/requirement.txt .
RUN
pip3
install
-r
/tmp/requirements.txt
# Update conda base environment to match specifications in environment.yml
ADD
environment.yml /tmp/environment.yml
USER
root
...
...
@@ -13,6 +17,3 @@ RUN conda env update -f /tmp/environment.yml && \
conda clean
-a
-f
-y
ENV
JUPYTER_ENABLE_LAB=yes
# Copy workspace
COPY
./ /home/jovyan
This diff is collapsed.
Click to expand it.
requirements.txt
0 → 100644
+
1
−
0
View file @
f74d869a
pandas
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