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
ModelZoo
DragGAN_pytorch
Commits
b4ab2353
Commit
b4ab2353
authored
Oct 30, 2024
by
dcuai
Browse files
Update Dockerfile
parent
83b50f45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
28 deletions
+1
-28
Dockerfile
Dockerfile
+1
-28
No files found.
Dockerfile
View file @
b4ab2353
FROM
nvcr.io/nvidia/pytorch:23.05-py3
FROM
image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.1.0-ubuntu20.04-dtk24.04.2-py3.10
ENV
PYTHONDONTWRITEBYTECODE 1
ENV
PYTHONUNBUFFERED 1
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
make
\
pkgconf
\
xz-utils
\
xorg-dev
\
libgl1-mesa-dev
\
libglu1-mesa-dev
\
libxrandr-dev
\
libxinerama-dev
\
libxcursor-dev
\
libxi-dev
\
libxxf86vm-dev
\
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
pip
install
--no-cache-dir
--upgrade
pip
COPY
requirements.txt .
RUN
pip
install
--no-cache-dir
-r
requirements.txt
WORKDIR
/workspace
RUN
(
printf
'#!/bin/bash\nexec \"$@\"\n'
>>
/entry.sh
)
&&
chmod
a+x /entry.sh
ENTRYPOINT
["/entry.sh"]
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