fffiloni commited on
Commit
a2af212
·
verified ·
1 Parent(s): 7c10e81

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -71,8 +71,6 @@ RUN cd third_party/StableCascade/models && \
71
  # Install StableCascade requirements
72
  RUN cd third_party/StableCascade && \
73
  pip install --no-cache-dir -r requirements.txt && \
74
- pip install --no-cache-dir pybind11>=2.12 && \
75
- pip install --no-cache-dir numpy==1.26.4 && \
76
  pip install --no-cache-dir jupyter notebook opencv-python matplotlib ftfy && \
77
  cd ../..
78
 
@@ -98,6 +96,9 @@ ENV PYTHONPATH=$HOME/app:$HOME/app/third_party:$PYTHONPATH
98
  # Print Python path
99
  RUN python -c "import sys; print('\n'.join(sys.path))"
100
 
 
 
 
101
  # Verify CSD module can be imported (try different methods)
102
  RUN python -c "from third_party.CSD import model; print('CSD model successfully imported')" || \
103
  python -c "import sys; sys.path.append('/home/user/app/third_party'); from CSD import model; print('CSD model successfully imported')"
 
71
  # Install StableCascade requirements
72
  RUN cd third_party/StableCascade && \
73
  pip install --no-cache-dir -r requirements.txt && \
 
 
74
  pip install --no-cache-dir jupyter notebook opencv-python matplotlib ftfy && \
75
  cd ../..
76
 
 
96
  # Print Python path
97
  RUN python -c "import sys; print('\n'.join(sys.path))"
98
 
99
+ RUN pip install --no-cache-dir pybind11>=2.12 && \
100
+ pip install --no-cache-dir numpy==1.26.4
101
+
102
  # Verify CSD module can be imported (try different methods)
103
  RUN python -c "from third_party.CSD import model; print('CSD model successfully imported')" || \
104
  python -c "import sys; sys.path.append('/home/user/app/third_party'); from CSD import model; print('CSD model successfully imported')"