Pull request #23: add pdf2image & pyinfra installation
Merge in RR/image-prediction from update-build-scripts to master
Squashed commit of the following:
commit 4a5b21d6e6e0d76091443ba3faaad15953855bad
Author: Julius Unverfehrt <julius.unverfehrt@iqser.com>
Date: Thu Aug 18 15:08:13 2022 +0200
add pdf2image & pyinfra installation
This commit is contained in:
parent
520eee26e3
commit
d13b8436e2
@ -3,6 +3,8 @@ FROM image-prediction-base
|
||||
WORKDIR /app/service
|
||||
|
||||
COPY src src
|
||||
COPY incl/pyinfra incl/pyinfra
|
||||
COPY incl/pdf2image incl/pdf2image
|
||||
COPY data data
|
||||
COPY image_prediction image_prediction
|
||||
COPY setup.py setup.py
|
||||
@ -12,8 +14,12 @@ COPY banner.txt banner.txt
|
||||
|
||||
# Install dependencies differing from base image.
|
||||
RUN python3 -m pip install -r requirements.txt
|
||||
RUN python3 -m pip install -r incl/pyinfra/requirements.txt
|
||||
RUN python3 -m pip install -r incl/pdf2image/requirements.txt
|
||||
|
||||
RUN python3 -m pip install -e .
|
||||
RUN python3 -m pip install -e incl/pyinfra
|
||||
RUN python3 -m pip install -e incl/pdf2image
|
||||
|
||||
EXPOSE 5000
|
||||
EXPOSE 8080
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user