praeclarumjj3 commited on
Commit
f2f8acf
1 Parent(s): f5c4dff
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -41,7 +41,8 @@ ARG TORCH_CUDA_ARCH_LIST=7.5+PTX
41
  RUN pip install ninja
42
 
43
  USER user
44
- RUN chmod -R 777 $HOME/.pyenv
 
45
  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 ..
46
  RUN sh deform_setup.sh
47
 
 
41
  RUN pip install ninja
42
 
43
  USER user
44
+ RUN chown -R user:user /usr/local
45
+ RUN chmod -R 777 /usr/local
46
  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 ..
47
  RUN sh deform_setup.sh
48