Yuliang commited on
Commit
e934833
·
verified ·
1 Parent(s): 9c742da

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -15,6 +15,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
15
  libfontconfig1 \
16
  libegl1-mesa-dev \
17
  libgl1-mesa-glx \
 
18
  libgl1-mesa-dev \
19
  libgles2-mesa-dev \
20
  libglib2.0-0 \
@@ -46,8 +47,8 @@ ENV FORCE_CUDA=1
46
 
47
  ENV CUDA_HOME=/usr/local/cuda
48
  ENV PATH=${CUDA_HOME}/bin:/home/${USER_NAME}/.local/bin:/usr/bin:${PATH}
49
- ENV LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}
50
- ENV LIBRARY_PATH=${CUDA_HOME}/lib64/stubs:${LIBRARY_PATH}
51
 
52
  # Set home to the user's home directory
53
  ENV HOME=/home/user \
@@ -81,5 +82,5 @@ COPY --chown=user . $HOME/app
81
  # Set the working directory to the user's home directory
82
  WORKDIR $HOME/app
83
 
84
- ENV DISPLAY :0
85
  CMD ["python", "app.py"]
 
15
  libfontconfig1 \
16
  libegl1-mesa-dev \
17
  libgl1-mesa-glx \
18
+ libglapi-mesa \
19
  libgl1-mesa-dev \
20
  libgles2-mesa-dev \
21
  libglib2.0-0 \
 
47
 
48
  ENV CUDA_HOME=/usr/local/cuda
49
  ENV PATH=${CUDA_HOME}/bin:/home/${USER_NAME}/.local/bin:/usr/bin:${PATH}
50
+ ENV LD_LIBRARY_PATH=${CUDA_HOME}/lib64:/usr/local/lib/python3.8/site-packages/open3d:${LD_LIBRARY_PATH}
51
+ ENV LIBRARY_PATH=${CUDA_HOME}/lib64/stubs:/usr/local/lib/python3.8/site-packages/open3d:${LIBRARY_PATH}
52
 
53
  # Set home to the user's home directory
54
  ENV HOME=/home/user \
 
82
  # Set the working directory to the user's home directory
83
  WORKDIR $HOME/app
84
 
85
+
86
  CMD ["python", "app.py"]