Spaces:
Runtime error
Runtime error
Jitesh Jain
commited on
Commit
·
eac4aac
1
Parent(s):
ca96ab1
Fix text
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -39,6 +39,8 @@ ARG TORCH_CUDA_ARCH_LIST=7.5+PTX
|
|
| 39 |
USER root
|
| 40 |
RUN chown -R user:user $HOME
|
| 41 |
RUN chmod -R 777 $HOME
|
|
|
|
|
|
|
| 42 |
|
| 43 |
USER user
|
| 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 --user && cd ..
|
|
|
|
| 39 |
USER root
|
| 40 |
RUN chown -R user:user $HOME
|
| 41 |
RUN chmod -R 777 $HOME
|
| 42 |
+
RUN chown -R user:user $WORKDIR
|
| 43 |
+
RUN chmod -R 777 $WORKDIR
|
| 44 |
|
| 45 |
USER user
|
| 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 ..
|