Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -2,8 +2,9 @@
|
|
2 |
FROM node:19 as viewer-frontend
|
3 |
|
4 |
WORKDIR /app
|
5 |
-
RUN git clone
|
6 |
-
|
|
|
7 |
|
8 |
RUN npm install --global yarn --force
|
9 |
RUN cd nerfstudio/viewer/app && \
|
|
|
2 |
FROM node:19 as viewer-frontend
|
3 |
|
4 |
WORKDIR /app
|
5 |
+
RUN git clone https://github.com/nerfstudio-project/nerfstudio .
|
6 |
+
RUN git checkout 6d51af1a24d692d073a9e0cda06278b6a9d44818
|
7 |
+
RUN sed -i "s|websocket_url: 'ws://localhost:7007',|websocket_url: '\${window.location.protocol === 'https:' ? 'wss' : 'ws'}://\${window.location.host}/server',|" nerfstudio/viewer/app/src/reducer.js
|
8 |
|
9 |
RUN npm install --global yarn --force
|
10 |
RUN cd nerfstudio/viewer/app && \
|