Spaces:
Starting
on
T4
Starting
on
T4
praeclarumjj3
commited on
Commit
•
93e1cb6
1
Parent(s):
efdfd79
Fix user
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -27,6 +27,7 @@ ENV WORKDIR=/code
|
|
27 |
WORKDIR $WORKDIR
|
28 |
RUN chown -R user:user $WORKDIR
|
29 |
RUN chmod -R 777 $WORKDIR
|
|
|
30 |
|
31 |
|
32 |
COPY requirements.txt $WORKDIR/requirements.txt
|
@@ -38,7 +39,7 @@ COPY . .
|
|
38 |
ARG TORCH_CUDA_ARCH_LIST=7.5+PTX
|
39 |
|
40 |
USER user
|
41 |
-
RUN ln -s $WORKDIR/oneformer/modeling/pixel_decoder/ops/ $WORKDIR/ && ls && cd ops/ && FORCE_CUDA=1 python setup.py
|
42 |
|
43 |
RUN sh deform_setup.sh
|
44 |
|
|
|
27 |
WORKDIR $WORKDIR
|
28 |
RUN chown -R user:user $WORKDIR
|
29 |
RUN chmod -R 777 $WORKDIR
|
30 |
+
RUN chmod -R 777 .
|
31 |
|
32 |
|
33 |
COPY requirements.txt $WORKDIR/requirements.txt
|
|
|
39 |
ARG TORCH_CUDA_ARCH_LIST=7.5+PTX
|
40 |
|
41 |
USER user
|
42 |
+
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 ..
|
43 |
|
44 |
RUN sh deform_setup.sh
|
45 |
|