Skip to content

Commit

Permalink
Dockerfile update.
Browse files Browse the repository at this point in the history
  • Loading branch information
vladd-bit committed Mar 23, 2023
1 parent fb41569 commit 711136e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,18 @@ RUN apt-get install -y libreoffice libreoffice-script-provider-python
RUN rm -rf /var/lib/apt/lists/*

# python3 packages
RUN python3.11 -m pip install --upgrade pip
RUN python3.11 -m pip install setuptools numpy matplotlib
RUN python3.11 -m pip install wheel virtualenv cython uwsgi
RUN python3.11 -m pip install opencv-python-headless
RUN python3.11 -m pip install --upgrade pip --break-system-packages
RUN python3.11 -m pip install setuptools numpy matplotlib --break-system-packages
RUN python3.11 -m pip install wheel virtualenv cython uwsgi --break-system-packages
RUN python3.11 -m pip install opencv-python-headless --break-system-packages

# create and copy the app
RUN mkdir /ocr_service
COPY ./ /ocr_service
WORKDIR /ocr_service

# Install requirements for the app
RUN python3.11 -m pip install --no-cache-dir -r ./requirements.txt
RUN python3.11 -m pip install --no-cache-di --break-system-packagesr -r ./requirements.txt

# Now run the simple api
CMD ["/bin/bash", "start_service_production.sh"]

0 comments on commit 711136e

Please sign in to comment.