Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +7 -4
Dockerfile
CHANGED
@@ -54,9 +54,6 @@ ENV PATH=${CUDA_HOME}/bin:/home/${USER_NAME}/.local/bin:/usr/bin:${PATH}
|
|
54 |
ENV LD_LIBRARY_PATH=${CUDA_HOME}/lib64:/usr/local/lib/python3.8/site-packages/open3d:/usr/lib:/usr/lib64:${LD_LIBRARY_PATH}
|
55 |
ENV LIBRARY_PATH=${CUDA_HOME}/lib64/stubs:/usr/local/lib/python3.8/site-packages/open3d:/usr/lib:/usr/lib64:${LIBRARY_PATH}
|
56 |
|
57 |
-
# cannot cache function '_make_tree': no locator available for file '/usr/local/lib/python3.8/site-packages/pymatting/util/kdtree.py'
|
58 |
-
ENV NUMBA_CACHE_DIR=/tmp/numba_cache
|
59 |
-
|
60 |
# Set home to the user's home directory
|
61 |
ENV HOME=/home/user \
|
62 |
PATH=/home/user/.local/bin:$PATH \
|
@@ -79,10 +76,16 @@ RUN cd /tmp && pip install -r requirements.txt
|
|
79 |
RUN pip install https://download.is.tue.mpg.de/icon/HF/kaolin-0.11.0-cp38-cp38-linux_x86_64.whl
|
80 |
RUN pip install https://download.is.tue.mpg.de/icon/HF/pytorch3d-0.7.0-cp38-cp38-linux_x86_64.whl
|
81 |
|
82 |
-
RUN chmod 777 $HOME
|
83 |
ENV TRANSFORMERS_CACHE=/tmp
|
84 |
ENV MPLCONFIGDIR=/tmp
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
87 |
COPY --chown=user . $HOME/app
|
88 |
|
|
|
54 |
ENV LD_LIBRARY_PATH=${CUDA_HOME}/lib64:/usr/local/lib/python3.8/site-packages/open3d:/usr/lib:/usr/lib64:${LD_LIBRARY_PATH}
|
55 |
ENV LIBRARY_PATH=${CUDA_HOME}/lib64/stubs:/usr/local/lib/python3.8/site-packages/open3d:/usr/lib:/usr/lib64:${LIBRARY_PATH}
|
56 |
|
|
|
|
|
|
|
57 |
# Set home to the user's home directory
|
58 |
ENV HOME=/home/user \
|
59 |
PATH=/home/user/.local/bin:$PATH \
|
|
|
76 |
RUN pip install https://download.is.tue.mpg.de/icon/HF/kaolin-0.11.0-cp38-cp38-linux_x86_64.whl
|
77 |
RUN pip install https://download.is.tue.mpg.de/icon/HF/pytorch3d-0.7.0-cp38-cp38-linux_x86_64.whl
|
78 |
|
|
|
79 |
ENV TRANSFORMERS_CACHE=/tmp
|
80 |
ENV MPLCONFIGDIR=/tmp
|
81 |
|
82 |
+
# cannot cache function '_make_tree': no locator available for file '/usr/local/lib/python3.8/site-packages/pymatting/util/kdtree.py'
|
83 |
+
ENV NUMBA_CACHE_DIR=/tmp/numba_cache
|
84 |
+
ENV HF_HOME=$HOME/.cache/huggingface
|
85 |
+
RUN mkdir -p $HF_HOME
|
86 |
+
|
87 |
+
RUN chmod 777 -R $HOME
|
88 |
+
|
89 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
90 |
COPY --chown=user . $HOME/app
|
91 |
|