mirror of
https://github.com/graphdeco-inria/gaussian-splatting
synced 2025-03-29 03:43:27 +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
|
||||
|
||||
|
||||
COPY environment.yml /root/environment.yml
|
||||
RUN /miniconda3/bin/conda env create -f /root/environment.yml
|
||||
WORKDIR /root/gaussian-splatting
|
||||
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"]
|
@ -11,7 +11,7 @@ services:
|
||||
# - /etc/passwd:/etc/passwd:ro
|
||||
# - /etc/group:/etc/group:ro
|
||||
- .:/root/gaussian-splatting
|
||||
- /home/terada/dataset/tandt_db:/root/dataset/tandt_db
|
||||
- ~/dataset/tandt_db:/root/dataset/tandt_db
|
||||
- ~/.ssh:/root/.ssh
|
||||
# ports:
|
||||
# - "8087:8088"
|
||||
|
Loading…
Reference in New Issue
Block a user