Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -20,8 +20,9 @@ ENV CONDA_DIR=/opt/conda
|
|
| 20 |
ENV PATH=$CONDA_DIR/bin:$PATH
|
| 21 |
|
| 22 |
# Create the conda environment and install dependencies
|
| 23 |
-
RUN conda create -n instantsplat python=3.11 cmake=3.14.0
|
| 24 |
-
|
|
|
|
| 25 |
conda install pytorch torchvision pytorch-cuda=12.1 -c pytorch -c nvidia -y && \
|
| 26 |
cd InstantSplat && \
|
| 27 |
pip install -r requirements.txt && \
|
|
|
|
| 20 |
ENV PATH=$CONDA_DIR/bin:$PATH
|
| 21 |
|
| 22 |
# Create the conda environment and install dependencies
|
| 23 |
+
RUN conda create -n instantsplat python=3.11 cmake=3.14.0 -y && \
|
| 24 |
+
echo "source activate instantsplat" > ~/.bashrc && \
|
| 25 |
+
/bin/bash -c "source activate instantsplat" && \
|
| 26 |
conda install pytorch torchvision pytorch-cuda=12.1 -c pytorch -c nvidia -y && \
|
| 27 |
cd InstantSplat && \
|
| 28 |
pip install -r requirements.txt && \
|