praeclarumjj3 commited on
Commit
14ce97d
·
1 Parent(s): c580224
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -45,11 +45,9 @@ RUN chown -R user:user /usr
45
  RUN chmod -R 777 /usr
46
  RUN chown -R user:user $HOME
47
  RUN chmod -R 777 $HOME
48
- RUN chown -R user:user $PATH
49
- RUN chmod -R 777 $PATH
50
 
51
  USER user
52
- RUN ln -s $WORKDIR/oneformer/modeling/pixel_decoder/ops/ $WORKDIR/ && ls && cd ops/ && FORCE_CUDA=1 python setup.py build --build-base=$WORKDIR/ install --user && cd ..
53
  RUN sh deform_setup.sh
54
 
55
  USER user
 
45
  RUN chmod -R 777 /usr
46
  RUN chown -R user:user $HOME
47
  RUN chmod -R 777 $HOME
 
 
48
 
49
  USER user
50
+ RUN ln -s $WORKDIR/oneformer/modeling/pixel_decoder/ops/ $WORKDIR/ && ls && cd ops/ && FORCE_CUDA=1 python setup.py build --build-base=$WORKDIR/ --install-dir=$WORKDIR/ install --user && cd ..
51
  RUN sh deform_setup.sh
52
 
53
  USER user