praeclarumjj3 commited on
Commit
b089a29
1 Parent(s): a0d4fd2
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -38,7 +38,8 @@ COPY . .
38
  ARG TORCH_CUDA_ARCH_LIST=7.5+PTX
39
 
40
  USER user
41
- RUN chmod -R 777 /home
 
42
  RUN pip install ninja
43
  RUN ln -s $WORKDIR/oneformer/modeling/pixel_decoder/ops/ $WORKDIR/ && ls && cd ops/ && FORCE_CUDA=1 python setup.py build --build-base=$WORKDIR/ install && cd ..
44
 
 
38
  ARG TORCH_CUDA_ARCH_LIST=7.5+PTX
39
 
40
  USER user
41
+ RUN chmod -R 777 $HOME
42
+ RUN chmod -R 777 $PATH
43
  RUN pip install ninja
44
  RUN ln -s $WORKDIR/oneformer/modeling/pixel_decoder/ops/ $WORKDIR/ && ls && cd ops/ && FORCE_CUDA=1 python setup.py build --build-base=$WORKDIR/ install && cd ..
45