MVPilgrim commited on
Commit
e73e1ec
·
verified ·
1 Parent(s): c1b8450

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -40,9 +40,10 @@ RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
40
  RUN update-alternatives --set python3 /usr/bin/python3.11
41
 
42
  # Create softlink so that text2vec-transformer can invoke python3 when using /usr/local/bin/python.
 
43
  RUN ls -l /usr/bin | grep -i python; ls -l /usr/local/bin | grep -i python || test '1 .gt 0'
44
- RUN ln -s /usr/bin/python3.11 /usr/local/bin/python
45
- RUN ls -l /usr/local/bin | grep -i python|| test '1 .gt 0'
46
 
47
  # Set up environment variables
48
  ENV LD_LIBRARY_PATH="/usr/lib/x86_64-linux-gnu:/usr/lib64:/usr/local/cuda/lib64:$LD_LIBRARY_PATH"
 
40
  RUN update-alternatives --set python3 /usr/bin/python3.11
41
 
42
  # Create softlink so that text2vec-transformer can invoke python3 when using /usr/local/bin/python.
43
+ RUN echo "#### ls /usr/bin | grep -i python; ls -l /usr/local/bin | grep -i python"
44
  RUN ls -l /usr/bin | grep -i python; ls -l /usr/local/bin | grep -i python || test '1 .gt 0'
45
+ RUN ln -s /usr/bin/python3.11 /usr/local/bin/python3.11
46
+ RUN ls -l /usr/local/bin | grep -i python || test '1 .gt 0'
47
 
48
  # Set up environment variables
49
  ENV LD_LIBRARY_PATH="/usr/lib/x86_64-linux-gnu:/usr/lib64:/usr/local/cuda/lib64:$LD_LIBRARY_PATH"