diff --git a/Dockerfile b/Dockerfile index 5291eda..9b07662 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,19 +8,14 @@ RUN apt install -y wget RUN apt install -y build-essential RUN apt install -y python3 python3-pip python-is-python3 -#RUN mkdir -p /miniconda3 -RUN mkdir -p /anaconda3 -# RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /miniconda3/miniconda.sh -RUN wget https://repo.anaconda.com/archive/Anaconda3-2024.02-1-Linux-x86_64.sh -O /anaconda3/anaconda.sh -# RUN bash /miniconda3/miniconda.sh -b -u -p /miniconda3 -RUN bash /anaconda3/anaconda.sh -b -u -p /anaconda3 -# RUN rm -f /miniconda3/miniconda.sh +## Miniconda +RUN mkdir -p /miniconda3 +RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /miniconda3/miniconda.sh +RUN bash /miniconda3/miniconda.sh -b -u -p /miniconda3 +RUN /miniconda3/bin/conda init bash -# RUN /miniconda3/bin/conda init bash -RUN /anaconda3/bin/conda init bash COPY environment.yml /root/environment.yml -#RUN /miniconda3/bin/conda env create -f /root/environment.yml -#RUN /anaconda3/bin/conda env create -f /root/environment.yml +RUN /miniconda3/bin/conda env create -f /root/environment.yml CMD ["/bin/bash"] \ No newline at end of file diff --git a/compose.yaml b/compose.yaml index 8b193d9..91896f5 100644 --- a/compose.yaml +++ b/compose.yaml @@ -11,6 +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 - ~/.ssh:/root/.ssh # ports: # - "8087:8088"