File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -96,18 +96,18 @@ RUN apt-get install -y libreoffice libreoffice-script-provider-python
9696RUN rm -rf /var/lib/apt/lists/*
9797
9898# python3 packages
99- RUN python3.11 -m pip install --upgrade pip
100- RUN python3.11 -m pip install setuptools numpy matplotlib
101- RUN python3.11 -m pip install wheel virtualenv cython uwsgi
102- RUN python3.11 -m pip install opencv-python-headless
99+ RUN python3.11 -m pip install --upgrade pip --break-system-packages
100+ RUN python3.11 -m pip install setuptools numpy matplotlib --break-system-packages
101+ RUN python3.11 -m pip install wheel virtualenv cython uwsgi --break-system-packages
102+ RUN python3.11 -m pip install opencv-python-headless --break-system-packages
103103
104104# create and copy the app
105105RUN mkdir /ocr_service
106106COPY ./ /ocr_service
107107WORKDIR /ocr_service
108108
109109# Install requirements for the app
110- RUN python3.11 -m pip install --no-cache-dir -r ./requirements.txt
110+ RUN python3.11 -m pip install --no-cache-di --break-system-packagesr -r ./requirements.txt
111111
112112# Now run the simple api
113113CMD ["/bin/bash" , "start_service_production.sh" ]
You can’t perform that action at this time.
0 commit comments