Yuliang commited on
Commit
4439082
1 Parent(s): c17adb0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -6
Dockerfile CHANGED
@@ -14,11 +14,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
14
  libxext6 \
15
  libgomp1 \
16
  libfontconfig1 \
17
- libegl1-mesa-dev \
18
- libgl1-mesa-dev \
19
  libgl1-mesa-glx \
20
- libglapi-mesa \
21
- libgles2-mesa-dev \
22
  libglib2.0-dev \
23
  libxrender1 \
24
  libgbm1 \
@@ -27,7 +23,6 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
27
  python3.8 \
28
  python3-pip \
29
  python-is-python3 \
30
- python3-opencv \
31
  nvidia-cuda-toolkit \
32
  && rm -rf /var/lib/apt/lists/*
33
 
@@ -50,7 +45,6 @@ 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
-
54
  # Set home to the user's home directory
55
  ENV HOME=/home/user \
56
  PATH=/home/user/.local/bin:$PATH \
@@ -75,6 +69,11 @@ RUN chmod 777 $HOME
75
  ENV TRANSFORMERS_CACHE=/tmp
76
  ENV MPLCONFIGDIR=/tmp
77
 
 
 
 
 
 
78
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
79
  COPY --chown=user . $HOME/app
80
 
 
14
  libxext6 \
15
  libgomp1 \
16
  libfontconfig1 \
 
 
17
  libgl1-mesa-glx \
 
 
18
  libglib2.0-dev \
19
  libxrender1 \
20
  libgbm1 \
 
23
  python3.8 \
24
  python3-pip \
25
  python-is-python3 \
 
26
  nvidia-cuda-toolkit \
27
  && rm -rf /var/lib/apt/lists/*
28
 
 
45
  ENV LD_LIBRARY_PATH=${CUDA_HOME}/lib64:/usr/local/lib/python3.8/site-packages/open3d:${LD_LIBRARY_PATH}
46
  ENV LIBRARY_PATH=${CUDA_HOME}/lib64/stubs:/usr/local/lib/python3.8/site-packages/open3d:${LIBRARY_PATH}
47
 
 
48
  # Set home to the user's home directory
49
  ENV HOME=/home/user \
50
  PATH=/home/user/.local/bin:$PATH \
 
69
  ENV TRANSFORMERS_CACHE=/tmp
70
  ENV MPLCONFIGDIR=/tmp
71
 
72
+ # cannot cache function '_make_tree': no locator available for file '/usr/local/lib/python3.8/site-packages/pymatting/util/kdtree.py'
73
+ ENV NUMBA_CACHE_DIR=/tmp/numba_cache
74
+ ENV HF_HOME=$HOME/.cache/huggingface
75
+ RUN mkdir -p $HF_HOME
76
+
77
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
78
  COPY --chown=user . $HOME/app
79