Spaces:
Starting
on
T4
Starting
on
T4
praeclarumjj3
commited on
Commit
•
c580224
1
Parent(s):
1bc5de5
Root user
Browse files- Dockerfile +6 -2
Dockerfile
CHANGED
@@ -41,8 +41,12 @@ ARG TORCH_CUDA_ARCH_LIST=7.5+PTX
|
|
41 |
RUN pip install ninja
|
42 |
|
43 |
USER root
|
44 |
-
RUN chown -R user:user /usr
|
45 |
-
RUN chmod -R 777 /usr
|
|
|
|
|
|
|
|
|
46 |
|
47 |
USER user
|
48 |
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 ..
|
|
|
41 |
RUN pip install ninja
|
42 |
|
43 |
USER root
|
44 |
+
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 ..
|