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
MinerU
Commits
99eff16d
Commit
99eff16d
authored
Nov 20, 2024
by
chenpangpang
Browse files
feat: update dockerfile
parent
e89652f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
Dockerfile
Dockerfile
+7
-6
No files found.
Dockerfile
View file @
99eff16d
FROM
image.sourcefind.cn:5000/gpu/admin/base/jupyterlab-pytorch:2.
1.2
-py3.10-cuda11.8-ubuntu22.04 as base
FROM
image.sourcefind.cn:5000/gpu/admin/base/jupyterlab-pytorch:2.
3.1
-py3.10-cuda11.8-ubuntu22.04
-devel
as base
ARG
IMAGE=mineru
ARG
IMAGE_UPPER=MinerU
ARG
BRANCH=gpu
...
...
@@ -10,12 +10,13 @@ RUN pip install -r requirements.txt
#########
# Prod #
#########
FROM
image.sourcefind.cn:5000/gpu/admin/base/jupyterlab-pytorch:2.
1.2
-py3.10-cuda11.8-ubuntu22.04
FROM
image.sourcefind.cn:5000/gpu/admin/base/jupyterlab-pytorch:2.
3.1
-py3.10-cuda11.8-ubuntu22.04
-devel
ARG
IMAGE=mineru
ARG
IMAGE_UPPER=MinerU
COPY
chenyh/$IMAGE/frpc_linux_amd64_v0.2 /usr/local/lib/python3.10/dist-packages/gradio/
RUN
chmod
+x /usr/local/lib/python3.10/dist-packages/gradio/frpc_linux_amd64_v0.2
COPY
--from=base /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages
COPY
chenyh/$IMAGE/frpc_linux_amd64_* /opt/conda/lib/python3.10/dist-packages/gradio/
RUN
chmod
+x /opt/conda/lib/python3.10/dist-packages/gradio/frpc_linux_amd64_
*
RUN
apt-get update
&&
apt-get
install
-y
libgl1-mesa-glx libglib2.0-0 libsm6 libxrender1 libxext6
COPY
--from=base /opt/conda/lib/python3.10/site-packages /opt/conda/lib/python3.10/site-packages
COPY
--from=base /root/$IMAGE/$IMAGE_UPPER /root/$IMAGE_UPPER
COPY
--from=base /root/$IMAGE/启动器.ipynb /root/$IMAGE/start.sh /root/
COPY
--from=base /root/$IMAGE/assets /root/assets
COPY
--from=base /root/$IMAGE/assets
/
/root/assets
/
\ No newline at end of file
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