radames commited on
Commit
43b9202
·
1 Parent(s): a1074c2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -4,7 +4,7 @@ FROM node:19 as viewer-frontend
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 && \
 
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\`,|g" nerfstudio/viewer/app/src/reducer.js
8
 
9
  RUN npm install --global yarn --force
10
  RUN cd nerfstudio/viewer/app && \