praeclarumjj3 commited on
Commit
874fdd3
·
1 Parent(s): 80717b7
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -26,7 +26,7 @@ RUN pyenv install 3.8.15 && \
26
  ENV WORKDIR=/code
27
  WORKDIR $WORKDIR
28
  RUN chown -R user:user $WORKDIR
29
- RUN chmod 777 $WORKDIR
30
 
31
 
32
  COPY requirements.txt $WORKDIR/requirements.txt
@@ -38,7 +38,7 @@ COPY . .
38
  ARG TORCH_CUDA_ARCH_LIST=7.5+PTX
39
 
40
  USER user
41
- RUN ln -s ./oneformer/modeling/pixel_decoder/ops/ ./ && ls && cd ops/ && FORCE_CUDA=1 python setup.py build --build-base=$WORKDIR/ install --user && cd ..
42
 
43
  RUN sh deform_setup.sh
44
 
 
26
  ENV WORKDIR=/code
27
  WORKDIR $WORKDIR
28
  RUN chown -R user:user $WORKDIR
29
+ RUN chmod -R 777 $WORKDIR
30
 
31
 
32
  COPY requirements.txt $WORKDIR/requirements.txt
 
38
  ARG TORCH_CUDA_ARCH_LIST=7.5+PTX
39
 
40
  USER user
41
+ RUN ln -s ./oneformer/modeling/pixel_decoder/ops/ ./ && ls && cd ops/ && FORCE_CUDA=1 python setup.py build install && cd ..
42
 
43
  RUN sh deform_setup.sh
44