forked from facebookresearch/DeepSDF
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (26 loc) · 857 Bytes
/
Dockerfile
File metadata and controls
35 lines (26 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM debian:9
VOLUME ["/data", "/v2"]
RUN apt-get update && apt-get install -yq \
python3 \
python3-pip \
libgl1-mesa-dev \
libegl1-mesa-dev \
libglew-dev \
libwayland-dev \
libxkbcommon-dev \
wayland-protocols
RUN pip3 install torch trimesh numpy scipy scikit-image plyfile
ENV PANGOLIN_WINDOW_URI=headless://
WORKDIR /DeepSDF
COPY . /DeepSDF
# install docker-ce
# wget https://download.docker.com/linux/debian/dists/stretch/pool/stable/amd64/docker-ce_18.09.9~3-0~debian-stretch_amd64.deb
# sudo dpkg -i docker-ce_18.09.9~3-0~debian-stretch_amd64.deb
# build image
# docker build --tag=deepsdf .
# docker tag deepsdf ycaxgjd/deepsdf:1.0
# docker login
# docker push ycaxgjd/deepsdf:1.0
# use image
# docker pull ycaxgjd/deepsdf:1.0
# docker run -v data:/data -v ShapeNetCore.v2:/v2 ycaxgjd/deepsdf:1.0 python3 ...