Spaces:
Build error
Build error
bennyguo
commited on
Commit
·
66b73d4
1
Parent(s):
ed7732e
avoid caching
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -58,6 +58,8 @@ RUN pip install git+https://github.com/NVlabs/tiny-cuda-nn.git#subdirectory=bind
|
|
58 |
COPY requirements.txt /tmp
|
59 |
RUN cd /tmp && pip install -r requirements.txt
|
60 |
|
|
|
|
|
61 |
RUN git clone https://github.com/threestudio-project/threestudio.git /home/${USER_NAME}/threestudio
|
62 |
WORKDIR /home/${USER_NAME}/threestudio
|
63 |
RUN git checkout c2f4c21
|
|
|
58 |
COPY requirements.txt /tmp
|
59 |
RUN cd /tmp && pip install -r requirements.txt
|
60 |
|
61 |
+
# avoid caching the old version
|
62 |
+
ADD "https://api.github.com/repos/threestudio-project/threestudio/commits?per_page=1" latest_commit
|
63 |
RUN git clone https://github.com/threestudio-project/threestudio.git /home/${USER_NAME}/threestudio
|
64 |
WORKDIR /home/${USER_NAME}/threestudio
|
65 |
RUN git checkout c2f4c21
|