Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
kolors
Commits
04f3d812
Commit
04f3d812
authored
Jul 15, 2024
by
chenpangpang
Browse files
feat:修改Dockerfile
parent
f8744c3a
Pipeline
#1362
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
Dockerfile
Dockerfile
+8
-4
No files found.
Dockerfile
View file @
04f3d812
FROM
image.sourcefind.cn:5000/gpu/admin/base/jupyterlab-pytorch:2.2.0-python3.10-cuda12.1-ubuntu22.04 as base
COPY
Kolors /root/K
olors
/
WORKDIR
/root/Kolors
RUN
cd
/root
&&
git clone
-b
dev http://developer.hpccube.com/codes/chenpangpang/k
olors
.git
WORKDIR
/root/
kolors/
Kolors
RUN
conda create
--name
kolors
-y
python
=
3.8
&&
source
activate kolors
&&
pip
install
-r
requirements.txt
&&
python3 setup.py
install
RUN
rm
-r
build dist kolors.egg-info
...
...
@@ -10,5 +10,9 @@ RUN rm -r build dist kolors.egg-info
FROM
image.sourcefind.cn:5000/gpu/admin/base/jupyterlab-pytorch:2.2.0-python3.10-cuda12.1-ubuntu22.04
RUN
conda create
--name
kolors
python
=
3.8
COPY
--from=base /opt/conda/envs/kolors/lib/python3.8/site-packages /opt/conda/envs/kolors/lib/python3.8/site-packages
COPY
--from=base /root/Kolors /root/Kolors
COPY
启动器.ipynb run.sh /root/
COPY
--from=base /root/kolors/Kolors /root/Kolors
COPY
--from=base /root/kolors/启动器.ipynb /root/kolors/run.sh /root/
RUN
mkdir
/root/Kolors/weight
# 模型仓库http://113.200.138.88:18080/aimodels/Kolors.git,放置在/public/home/openaimodels/dockerFileTemp/chenyh
COPY
chenyh/Kolors /root/Kolors/weight/Kolors
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment