radames commited on
Commit
cfa14f6
•
1 Parent(s): cdd95ee

fix the port

Browse files
Files changed (2) hide show
  1. Dockerfile +4 -0
  2. README.md +2 -2
Dockerfile CHANGED
@@ -30,5 +30,9 @@ COPY --from=viewer-frontend /app/nerfstudio/viewer/app/build /usr/share/nginx/ht
30
 
31
  EXPOSE 8080
32
  USER 1000
 
 
33
  RUN ["ns-download-data", "nerfstudio", "--capture-name=bww_entrance"]
 
 
34
  CMD ["/bin/sh", "-c","ns-train nerfacto --data data/nerfstudio/bww_entrance & nginx -g 'daemon off;'"]
 
30
 
31
  EXPOSE 8080
32
  USER 1000
33
+
34
+ # nerfstudio commands here
35
  RUN ["ns-download-data", "nerfstudio", "--capture-name=bww_entrance"]
36
+
37
+ # nerfstudio training with nginx to server the viewer
38
  CMD ["/bin/sh", "-c","ns-train nerfacto --data data/nerfstudio/bww_entrance & nginx -g 'daemon off;'"]
README.md CHANGED
@@ -1,11 +1,11 @@
1
  ---
2
  title: Nerfstudio
3
- emoji: 😻
4
  colorFrom: red
5
  colorTo: green
6
  sdk: docker
7
  pinned: false
8
- app_port: 7007
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
  title: Nerfstudio
3
+ emoji: 🎮 🧊
4
  colorFrom: red
5
  colorTo: green
6
  sdk: docker
7
  pinned: false
8
+ app_port: 8080
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference