mirror of
https://github.com/graphdeco-inria/gaussian-splatting
synced 2025-03-31 15:50:00 +00:00
Dev: conda env create in Dockerfile
This commit is contained in:
parent
1dc9226f4b
commit
337d058776
10
Dockerfile
10
Dockerfile
@ -15,7 +15,13 @@ RUN bash /miniconda3/miniconda.sh -b -u -p /miniconda3
|
|||||||
RUN /miniconda3/bin/conda init bash
|
RUN /miniconda3/bin/conda init bash
|
||||||
|
|
||||||
|
|
||||||
COPY environment.yml /root/environment.yml
|
WORKDIR /root/gaussian-splatting
|
||||||
RUN /miniconda3/bin/conda env create -f /root/environment.yml
|
COPY environment.yml /root/gaussian-splatting/environment.yml
|
||||||
|
COPY submodules /root/gaussian-splatting/submodules
|
||||||
|
RUN /miniconda3/bin/conda env create -f environment.yml
|
||||||
|
# conda env createがが終わったら不要
|
||||||
|
RUN rm -rf /root/gaussian-splatting
|
||||||
|
|
||||||
|
RUN apt-get install -y git
|
||||||
|
|
||||||
CMD ["/bin/bash"]
|
CMD ["/bin/bash"]
|
@ -11,7 +11,7 @@ services:
|
|||||||
# - /etc/passwd:/etc/passwd:ro
|
# - /etc/passwd:/etc/passwd:ro
|
||||||
# - /etc/group:/etc/group:ro
|
# - /etc/group:/etc/group:ro
|
||||||
- .:/root/gaussian-splatting
|
- .:/root/gaussian-splatting
|
||||||
- /home/terada/dataset/tandt_db:/root/dataset/tandt_db
|
- ~/dataset/tandt_db:/root/dataset/tandt_db
|
||||||
- ~/.ssh:/root/.ssh
|
- ~/.ssh:/root/.ssh
|
||||||
# ports:
|
# ports:
|
||||||
# - "8087:8088"
|
# - "8087:8088"
|
||||||
|
Loading…
Reference in New Issue
Block a user