SW777SW commited on
Commit
8777284
·
verified ·
1 Parent(s): c99f265

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -5,10 +5,6 @@ FROM pytorch/pytorch:2.1.2-cuda11.8-cudnn8-devel
5
  # ENV CONDA_DIR=/opt/conda
6
  # ENV PATH=$CONDA_DIR/bin:$PATH
7
 
8
- RUN useradd -m -u 1000 user
9
- USER user
10
- ENV PATH="/home/user/.local/bin:$PATH"
11
-
12
  # Install build deps
13
  RUN apt-get update -y && apt-get install -y wget git vim \
14
  && apt-get clean && rm -f /var/lib/apt/lists/*_*
@@ -33,6 +29,10 @@ RUN pip install -r requirements.txt && \
33
  RUN cd submodules/dust3r/croco/models/curope/ && \
34
  python setup.py build_ext --inplace
35
 
 
 
 
 
36
  # Set the working directory
37
  WORKDIR /InstantSplat
38
 
 
5
  # ENV CONDA_DIR=/opt/conda
6
  # ENV PATH=$CONDA_DIR/bin:$PATH
7
 
 
 
 
 
8
  # Install build deps
9
  RUN apt-get update -y && apt-get install -y wget git vim \
10
  && apt-get clean && rm -f /var/lib/apt/lists/*_*
 
29
  RUN cd submodules/dust3r/croco/models/curope/ && \
30
  python setup.py build_ext --inplace
31
 
32
+ RUN useradd -m -u 1000 user
33
+ USER user
34
+ ENV PATH="/home/user/.local/bin:$PATH"
35
+
36
  # Set the working directory
37
  WORKDIR /InstantSplat
38