radames commited on
Commit
3e4f6a6
·
1 Parent(s): 9db6426

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -2,8 +2,9 @@
2
  FROM node:19 as viewer-frontend
3
 
4
  WORKDIR /app
5
- RUN git clone -b radames-patch-1 https://github.com/radames/nerfstudio .
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 && \