praeclarumjj3 commited on
Commit
0e0db7c
1 Parent(s): b764043

Compile Worked, fix path data

Browse files
Files changed (1) hide show
  1. Dockerfile +20 -23
Dockerfile CHANGED
@@ -28,35 +28,32 @@ WORKDIR $WORKDIR
28
  RUN chown -R user:user $WORKDIR
29
  RUN chmod -R 777 $WORKDIR
30
 
 
 
 
 
 
 
31
 
32
- COPY requirements.txt $WORKDIR/requirements.txt
33
- RUN pip install --no-cache-dir --upgrade -r $WORKDIR/requirements.txt
34
- COPY . .
35
-
36
- ARG TORCH_CUDA_ARCH_LIST=7.5+PTX
37
-
38
 
39
- RUN pip install ninja
40
 
41
- USER root
42
- RUN chown -R user:user /usr
43
- RUN chmod -R 777 /usr
44
- RUN chown -R user:user $HOME
45
- RUN chmod -R 777 $HOME
46
- RUN chown -R user:user $WORKDIR
47
- RUN chmod -R 777 $WORKDIR
48
 
49
- USER user
50
- 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 ..
51
- RUN sh deform_setup.sh
 
 
 
 
52
 
53
- USER user
54
- RUN sh deform_setup.sh
 
55
 
56
- RUN ls
57
- RUN pwd
58
- RUN locate oneformer/
59
- # COPY /home/user/oneformer/data/bpe_simple_vocab_16e6.txt.gz $WORKDIR/oneformer/data/bpe_simple_vocab_16e6.txt.gz
60
 
61
  USER user
62
 
 
28
  RUN chown -R user:user $WORKDIR
29
  RUN chmod -R 777 $WORKDIR
30
 
31
+ RUN ls
32
+ RUN pwd
33
+ COPY /app/oneformer/data/bpe_simple_vocab_16e6.txt.gz $WORKDIR/oneformer/data/bpe_simple_vocab_16e6.txt.gz
34
+ # COPY requirements.txt $WORKDIR/requirements.txt
35
+ # RUN pip install --no-cache-dir --upgrade -r $WORKDIR/requirements.txt
36
+ # COPY . .
37
 
38
+ # ARG TORCH_CUDA_ARCH_LIST=7.5+PTX
 
 
 
 
 
39
 
 
40
 
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 $WORKDIR
49
+ # RUN chmod -R 777 $WORKDIR
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 ..
53
+ # RUN sh deform_setup.sh
54
 
55
+ # USER user
56
+ # RUN sh deform_setup.sh
 
 
57
 
58
  USER user
59