Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tutorial-ai4stem
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Monitor
Service Desk
Analyze
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
nomad-lab
ai-toolkit
tutorial-ai4stem
Commits
7fee8dfa
Commit
7fee8dfa
authored
2 years ago
by
Adam Fekete
Browse files
Options
Downloads
Patches
Plain Diff
cleanup
parent
e04e58b6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+12
-7
12 additions, 7 deletions
Dockerfile
ai4stem
+1
-1
1 addition, 1 deletion
ai4stem
with
13 additions
and
8 deletions
Dockerfile
+
12
−
7
View file @
7fee8dfa
FROM
jupyter/tensorflow-notebook
FROM
jupyter/tensorflow-notebook
:python-3.9
# ================================================================================
...
...
@@ -16,22 +16,27 @@ FROM jupyter/tensorflow-notebook
# ================================================================================
# Python environment
# ================================================================================
# TODO: build fixed requirement.txt
WORKDIR
/tmp/
COPY
--chown=${NB_UID}:${NB_GID} ai4stem/ ./ai4stem
RUN
pip
install
--no-cache-dir
--requirement
./ai4stem/requirements.txt
\
&&
pip
install
--no-cache-dir
./ai4stem
\
&&
rm
-rf
./ai4stem
\
# COPY --chown=${NB_UID}:${NB_GID} ai4stem/ ./ai4stem
# RUN pip install --no-cache-dir --requirement ./ai4stem/requirements.txt \
# && pip install --no-cache-dir ./ai4stem \
# && fix-permissions "${CONDA_DIR}" \
# && fix-permissions "/home/${NB_USER}"
RUN
pip
install
--no-cache-dir
'git+https://github.com/AndreasLeitherer/ai4stem.git@v0.1.0'
\
&&
fix-permissions
"
${
CONDA_DIR
}
"
\
&&
fix-permissions
"/home/
${
NB_USER
}
"
# ================================================================================
# Switch back to jovyan to avoid accidental container runs as root
# ================================================================================
WORKDIR
${HOME}
USER
${NB_UID}
ENV
DOCKER_STACKS_JUPYTER_CMD="nbclassic"
COPY
--chown=${NB_UID}:${NB_GID} ai4stem.ipynb .
# COPY --chown=${NB_UID}:${NB_GID} ai4stem.ipynb .
COPY
--chown=${NB_UID}:${NB_GID} notebook/ ./
This diff is collapsed.
Click to expand it.
ai4stem
@
bb4a2b7e
Compare
f54295cd
...
bb4a2b7e
Subproject commit
f54295cda648a74b86e3d8b97f8c2689ca35dd71
Subproject commit
bb4a2b7e0a31b774f97883b6fed57546a5e9edaa
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